]> git.donarmstrong.com Git - tmk_firmware.git/commitdiff
Fix ADB led_set(); remove delay
authortmk <nobody@nowhere>
Thu, 7 Nov 2013 19:27:25 +0000 (04:27 +0900)
committertmk <nobody@nowhere>
Thu, 7 Nov 2013 19:27:25 +0000 (04:27 +0900)
- 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

converter/adb_usb/led.c

index 1e7911f9428585ce73755eb6c5f5ac03043ed598..3ee64a8e7d319b1b3164fe6b88242b6e25f6d377 100644 (file)
@@ -23,7 +23,5 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 void led_set(uint8_t usb_led)
 {
-    // need a wait to send command without miss
-    _delay_ms(100);
     adb_host_kbd_led(~usb_led);
 }