aboutsummaryrefslogtreecommitdiff
path: root/protocol/lufa
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
parent9d26053f1c14da79336a64f800305660d1a71180 (diff)
downloadqmk_firmware-532e100450615ef1e63e2eed548c38d0c4fa688b.tar.gz
qmk_firmware-532e100450615ef1e63e2eed548c38d0c4fa688b.zip
Add ps2_usart.c and fix set_led at USB wake
Diffstat (limited to 'protocol/lufa')
-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 04e8e78f3..eca51c878 100644
--- a/protocol/lufa/lufa.c
+++ b/protocol/lufa/lufa.c
@@ -148,7 +148,6 @@ static void Console_Task(void)
148*/ 148*/
149void EVENT_USB_Device_Connect(void) 149void EVENT_USB_Device_Connect(void)
150{ 150{
151 led_set(0x1f); // all on
152} 151}
153 152
154void EVENT_USB_Device_Disconnect(void) 153void EVENT_USB_Device_Disconnect(void)
@@ -172,8 +171,9 @@ void EVENT_USB_Device_WakeUp()
172 171
173#ifdef SLEEP_LED_ENABLE 172#ifdef SLEEP_LED_ENABLE
174 sleep_led_disable(); 173 sleep_led_disable();
175#endif 174 // NOTE: converters may not accept this
176 led_set(host_keyboard_leds()); 175 led_set(host_keyboard_leds());
176#endif
177} 177}
178 178
179void EVENT_USB_Device_StartOfFrame(void) 179void EVENT_USB_Device_StartOfFrame(void)