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
pull/12/head
tmk 11 years ago
parent 94823030f0
commit 84b9ce7125

@ -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);
}

Loading…
Cancel
Save