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. --- Projects/LEDNotifier/LEDNotifier.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Projects/LEDNotifier/LEDNotifier.c') diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c index 61d5efcbb..5b5390024 100644 --- a/Projects/LEDNotifier/LEDNotifier.c +++ b/Projects/LEDNotifier/LEDNotifier.c @@ -107,6 +107,8 @@ int main(void) /* Create a regular blocking character stream for the interface so that it can be used with the stdio.h functions */ CDC_Device_CreateBlockingStream(&VirtualSerial_CDC_Interface, &USBSerialStream); + + sei(); for (;;) { -- cgit v1.2.3