Add ps2_usart.c and fix set_led at USB wake
This commit is contained in:
parent
9d26053f1c
commit
532e100450
4 changed files with 29 additions and 126 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue