diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-04-08 05:05:05 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-04-08 05:05:05 +0000 |
commit | de9bd767dc8578a45a195fb1e37dd4ff26ae9567 (patch) | |
tree | 6fceed835501d02bdb8a0449fb8e7e035329e39b /Bootloaders/DFU | |
parent | 70284d390f524e84e0539ad1e869366aaf94cf24 (diff) | |
download | lufa-de9bd767dc8578a45a195fb1e37dd4ff26ae9567.tar.gz lufa-de9bd767dc8578a45a195fb1e37dd4ff26ae9567.tar.bz2 lufa-de9bd767dc8578a45a195fb1e37dd4ff26ae9567.zip |
Correct UC3 global interrupt functions.
Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function.
Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input.
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 f9bc4e060..113bea748 100644 --- a/Bootloaders/DFU/BootloaderDFU.c +++ b/Bootloaders/DFU/BootloaderDFU.c @@ -109,7 +109,7 @@ int main(void) /* Enable pull-up on the JTAG TCK pin so we can use it to select the mode */ PORTF |= (1 << 4); - _delay_ms(10); + Delay_MS(10); /* If the TCK pin is not jumpered to ground, start the user application instead */ RunBootloader = (!(PINF & (1 << 4))); |