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
This commit is contained in:
tmk 2013-11-08 04:27:25 +09:00
parent 94823030f0
commit 84b9ce7125

View file

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