1
0
Fork 0

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

@ -148,7 +148,6 @@ static void Console_Task(void)
*/
void EVENT_USB_Device_Connect(void)
{
led_set(0x1f); // all on
}
void EVENT_USB_Device_Disconnect(void)
@ -172,8 +171,9 @@ void EVENT_USB_Device_WakeUp()
#ifdef SLEEP_LED_ENABLE
sleep_led_disable();
#endif
// NOTE: converters may not accept this
led_set(host_keyboard_leds());
#endif
}
void EVENT_USB_Device_StartOfFrame(void)