diff options
Diffstat (limited to 'Demos')
-rw-r--r-- | Demos/Host/LowLevel/MouseHost/MouseHost.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Demos/Host/LowLevel/MouseHost/MouseHost.c b/Demos/Host/LowLevel/MouseHost/MouseHost.c index f6a2f3820..ab0eadc6c 100644 --- a/Demos/Host/LowLevel/MouseHost/MouseHost.c +++ b/Demos/Host/LowLevel/MouseHost/MouseHost.c @@ -138,6 +138,9 @@ void ReadNextReport(void) /* Check to see if a packet has been received */
if (!(Pipe_IsINReceived()))
{
+ /* No packet received (no movement), turn off LEDs */
+ LEDs_SetAllLEDs(LEDS_NO_LEDS);
+
/* Refreeze HID data IN pipe */
Pipe_Freeze();
|