#include "MouseHost.h"\r
\r
/** Main program entry point. This routine configures the hardware required by the application, then\r
- * starts the scheduler to run the application tasks.\r
+ * enters a loop to run the application tasks in sequence.\r
*/\r
int main(void)\r
{\r
/* Check to see if a packet has been received */\r
if (!(Pipe_IsINReceived()))\r
{\r
+ /* No packet received (no movement), turn off LEDs */\r
+ LEDs_SetAllLEDs(LEDS_NO_LEDS);\r
+ \r
/* Refreeze HID data IN pipe */\r
Pipe_Freeze();\r
\r