summaryrefslogtreecommitdiffstats
path: root/protocol/lufa/lufa.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-11-28 10:42:41 +0900
committertmk <nobody@nowhere>2013-11-28 11:31:48 +0900
commit532e100450615ef1e63e2eed548c38d0c4fa688b (patch)
treef09b8e4dc51fdca6a6ba0647b92cd672c7008ce9 /protocol/lufa/lufa.c
parent9d26053f1c14da79336a64f800305660d1a71180 (diff)
Add ps2_usart.c and fix set_led at USB wake
Diffstat (limited to 'protocol/lufa/lufa.c')
-rw-r--r--protocol/lufa/lufa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocol/lufa/lufa.c b/protocol/lufa/lufa.c
index 04e8e78f38..eca51c8784 100644
--- a/protocol/lufa/lufa.c
+++ b/protocol/lufa/lufa.c
@@ -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)