From 59c4871f8011247a056f6ca2ca8aca89000e3841 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 28 Apr 2010 07:48:26 +0000 Subject: USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run. --- Demos/Host/LowLevel/PrinterHost/PrinterHost.c | 1 + Demos/Host/LowLevel/PrinterHost/PrinterHost.h | 1 + 2 files changed, 2 insertions(+) (limited to 'Demos/Host/LowLevel/PrinterHost') diff --git a/Demos/Host/LowLevel/PrinterHost/PrinterHost.c b/Demos/Host/LowLevel/PrinterHost/PrinterHost.c index 6840138b5..a2c9fd863 100644 --- a/Demos/Host/LowLevel/PrinterHost/PrinterHost.c +++ b/Demos/Host/LowLevel/PrinterHost/PrinterHost.c @@ -46,6 +46,7 @@ int main(void) LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY); puts_P(PSTR(ESC_FG_CYAN "Printer Host Demo running.\r\n" ESC_FG_WHITE)); + sei(); for (;;) { diff --git a/Demos/Host/LowLevel/PrinterHost/PrinterHost.h b/Demos/Host/LowLevel/PrinterHost/PrinterHost.h index 7fa572cf9..9b0bb5dda 100644 --- a/Demos/Host/LowLevel/PrinterHost/PrinterHost.h +++ b/Demos/Host/LowLevel/PrinterHost/PrinterHost.h @@ -41,6 +41,7 @@ #include #include #include + #include #include #include -- cgit v1.2.3