USB_Init() no longer calls sei() to enable global interrupts - this must now be done...
[pub/USBasp.git] / Demos / Host / ClassDriver / KeyboardHost / KeyboardHost.c
index 15b9319..61292a4 100644 (file)
@@ -65,7 +65,8 @@ 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
-\r
+       sei();\r
+       \r
        for (;;)\r
        {\r
                switch (USB_HostState)\r