projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB_Init() no longer calls sei() to enable global interrupts - this must now be done...
[pub/USBasp.git]
/
Bootloaders
/
DFU
/
BootloaderDFU.c
diff --git
a/Bootloaders/DFU/BootloaderDFU.c
b/Bootloaders/DFU/BootloaderDFU.c
index
157b78f
..
d90accb
100644
(file)
--- a/
Bootloaders/DFU/BootloaderDFU.c
+++ b/
Bootloaders/DFU/BootloaderDFU.c
@@
-101,6
+101,9
@@
int main(void)
{
\r
/* Configure hardware required by the bootloader */
\r
SetupHardware();
\r
{
\r
/* Configure hardware required by the bootloader */
\r
SetupHardware();
\r
+
\r
+ /* Enable global interrupts so that the USB stack can function */
\r
+ sei();
\r
\r
/* Run the USB management task while the bootloader is supposed to be running */
\r
while (RunBootloader || WaitForExit)
\r
\r
/* Run the USB management task while the bootloader is supposed to be running */
\r
while (RunBootloader || WaitForExit)
\r