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/DFU | |
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/DFU')
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c index fcacf76cb..ef150eefc 100644 --- a/Bootloaders/DFU/BootloaderDFU.c +++ b/Bootloaders/DFU/BootloaderDFU.c @@ -155,7 +155,7 @@ int main(void) LEDs_SetAllLEDs(LEDS_LED1); /* Enable global interrupts so that the USB stack can function */ - sei(); + GlobalInterruptEnable(); /* Run the USB management task while the bootloader is supposed to be running */ while (RunBootloader || WaitForExit) |