diff options
| author | tmk <nobody@nowhere> | 2013-11-08 04:27:25 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-11-08 04:27:25 +0900 |
| commit | 84b9ce7125d6a2a376419694ac461214333b12bc (patch) | |
| tree | e1120d06de2ac170dccf63cad5c1fbf944701faf | |
| parent | 94823030f00e9293ffc7ae4bec9611c8224d3532 (diff) | |
| download | qmk_firmware-84b9ce7125d6a2a376419694ac461214333b12bc.tar.gz qmk_firmware-84b9ce7125d6a2a376419694ac461214333b12bc.zip | |
Fix ADB led_set(); remove delay
- the 100ms delay causes keystroke drop; this is observable with
pressing Numlock key on AEK repeatedly
- without the delay LED sync problem doesn't occur now
| -rw-r--r-- | converter/adb_usb/led.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/converter/adb_usb/led.c b/converter/adb_usb/led.c index 1e7911f94..3ee64a8e7 100644 --- a/converter/adb_usb/led.c +++ b/converter/adb_usb/led.c | |||
| @@ -23,7 +23,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | void led_set(uint8_t usb_led) | 24 | void led_set(uint8_t usb_led) |
| 25 | { | 25 | { |
| 26 | // need a wait to send command without miss | ||
| 27 | _delay_ms(100); | ||
| 28 | adb_host_kbd_led(~usb_led); | 26 | adb_host_kbd_led(~usb_led); |
| 29 | } | 27 | } |
