projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Oops - relocated USBInterrupt.h header file requires adjusted include paths for the...
[pub/USBasp.git]
/
Demos
/
Host
/
ClassDriver
/
KeyboardHostWithParser
/
KeyboardHostWithParser.c
diff --git
a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
index
78ec56a
..
531757a
100644
(file)
--- a/
Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
+++ b/
Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
@@
-70,6
+70,7
@@
int main(void)
puts_P(PSTR(ESC_FG_CYAN "Keyboard Host Demo running.\r\n" ESC_FG_WHITE));
\r
\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
\r
puts_P(PSTR(ESC_FG_CYAN "Keyboard Host Demo running.\r\n" ESC_FG_WHITE));
\r
\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
\r
+ sei();
\r
\r
for (;;)
\r
{
\r
\r
for (;;)
\r
{
\r
@@
-115,9
+116,8
@@
int main(void)
break;
\r
}
\r
\r
break;
\r
}
\r
\r
- LEDs_SetAllLEDs(LEDS_NO_LEDS);
\r
-
\r
printf("Keyboard Enumerated.\r\n");
\r
printf("Keyboard Enumerated.\r\n");
\r
+ LEDs_SetAllLEDs(LEDMASK_USB_READY);
\r
USB_HostState = HOST_STATE_Configured;
\r
break;
\r
case HOST_STATE_Configured:
\r
USB_HostState = HOST_STATE_Configured;
\r
break;
\r
case HOST_STATE_Configured:
\r