aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/LEDNotifier/LEDNotifier.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-28 07:48:26 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-28 07:48:26 +0000
commit59c4871f8011247a056f6ca2ca8aca89000e3841 (patch)
treeb26bb76882e9cca644ba0083bcc1c9ea50511463 /Projects/LEDNotifier/LEDNotifier.c
parent85aaaf84ce14568580a35c31e22062ba529b49fe (diff)
downloadlufa-59c4871f8011247a056f6ca2ca8aca89000e3841.tar.gz
lufa-59c4871f8011247a056f6ca2ca8aca89000e3841.tar.bz2
lufa-59c4871f8011247a056f6ca2ca8aca89000e3841.zip
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.
Diffstat (limited to 'Projects/LEDNotifier/LEDNotifier.c')
-rw-r--r--Projects/LEDNotifier/LEDNotifier.c2
1 files changed, 2 insertions, 0 deletions
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 (;;)
{