summaryrefslogtreecommitdiff
path: root/protocol/lufa/lufa.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-11-28 16:02:29 +0900
committertmk <nobody@nowhere>2013-11-28 16:02:29 +0900
commitbc5b64d83259715667356770965a33aa620a8030 (patch)
tree074377caef4d838ac3890f39e9ff67f346aab506 /protocol/lufa/lufa.c
parent4e36159be226e544dfebbe06b1955261951209a4 (diff)
parent0b9c0f6012a90eeb8cced9feccf3a65d8b4e5535 (diff)
Merge branch 'ps2_keyboard_fix'
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)