From c8cfde01389a7f945e237b8571c1d4202e0d60d0 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 13 Mar 2013 16:01:53 +0900 Subject: Add intial code of RemoteWakeUp --- protocol/lufa/lufa.c | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/protocol/lufa/lufa.c b/protocol/lufa/lufa.c index 98c3a68ffb..fc3798cdf9 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<