diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-17 21:00:59 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-17 21:00:59 +0000 |
commit | 1eefbf9041ba71667a0dcf351685512db1244499 (patch) | |
tree | f3da4fc70cca293cd6ec93c9ed28c0878470d4a4 /Bootloaders/CDC | |
parent | 92ee5ad826f567536c3d0a235ab6eeee919a30ab (diff) | |
download | lufa-1eefbf9041ba71667a0dcf351685512db1244499.tar.gz lufa-1eefbf9041ba71667a0dcf351685512db1244499.tar.bz2 lufa-1eefbf9041ba71667a0dcf351685512db1244499.zip |
Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA specific sei() macro, for future demo/project portability.
Diffstat (limited to 'Bootloaders/CDC')
-rw-r--r-- | Bootloaders/CDC/BootloaderCDC.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/CDC/BootloaderCDC.c b/Bootloaders/CDC/BootloaderCDC.c index bb5c1e673..a6055d302 100644 --- a/Bootloaders/CDC/BootloaderCDC.c +++ b/Bootloaders/CDC/BootloaderCDC.c @@ -119,7 +119,7 @@ int main(void) LEDs_SetAllLEDs(LEDS_LED1); /* Enable global interrupts so that the USB stack can function */ - sei(); + GlobalInterruptEnable(); while (RunBootloader) { |