aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver/MouseHostWithParser
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-03-25 06:34:38 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-03-25 06:34:38 +0000
commit74353374c38237d1c976dabf81703dd885d0d556 (patch)
treec96599e868d2fbe7215c86fe5a2dfe2d217846f7 /Demos/Host/ClassDriver/MouseHostWithParser
parentb8db5fc1e7a49c0b91a67570e11edf90f985cd00 (diff)
downloadlufa-74353374c38237d1c976dabf81703dd885d0d556.tar.gz
lufa-74353374c38237d1c976dabf81703dd885d0d556.tar.bz2
lufa-74353374c38237d1c976dabf81703dd885d0d556.zip
All Class Driver Host mode demos now correctly set the board LEDs to READY once the enumeration process has completed.
Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.
Diffstat (limited to 'Demos/Host/ClassDriver/MouseHostWithParser')
-rw-r--r--Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
index d0aca1e5d..c735b5c00 100644
--- a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
+++ b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
@@ -115,9 +115,8 @@ int main(void)
break;
}
- LEDs_SetAllLEDs(LEDS_NO_LEDS);
-
printf("Mouse Enumerated.\r\n");
+ LEDs_SetAllLEDs(LEDMASK_USB_READY);
USB_HostState = HOST_STATE_Configured;
break;
case HOST_STATE_Configured: