From: tmk Date: Wed, 13 Mar 2013 07:01:53 +0000 (+0900) Subject: Add intial code of RemoteWakeUp X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c8cfde01389a7f945e237b8571c1d4202e0d60d0;p=tmk_firmware.git Add intial code of RemoteWakeUp --- diff --git a/protocol/lufa/lufa.c b/protocol/lufa/lufa.c index 98c3a68..fc3798c 100644 --- a/protocol/lufa/lufa.c +++ b/protocol/lufa/lufa.c @@ -133,16 +133,29 @@ static void Console_Task(void) /******************************************************************************* * USB Events ******************************************************************************/ -/** Event handler for the USB_Connect event. */ +#include "led.h" void EVENT_USB_Device_Connect(void) { } -/** Event handler for the USB_Disconnect event. */ void EVENT_USB_Device_Disconnect(void) { } +void EVENT_USB_Device_Reset(void) +{ +} + +void EVENT_USB_Device_Suspend() +{ + led_set(1<