Add ps2_usart.c and fix set_led at USB wake

This commit is contained in:
tmk 2013-11-28 10:42:41 +09:00
parent 9d26053f1c
commit 532e100450
4 changed files with 29 additions and 126 deletions

View file

@ -662,8 +662,9 @@ ISR(USB_GEN_vect)
suspend_wakeup_init();
#ifdef SLEEP_LED_ENABLE
sleep_led_disable();
#endif
// NOTE: converters may not accept this
led_set(host_keyboard_leds());
#endif
UDIEN |= (1<<SUSPE);
UDIEN &= ~(1<<WAKEUPE);