From de9bd767dc8578a45a195fb1e37dd4ff26ae9567 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 8 Apr 2011 05:05:05 +0000 Subject: 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. --- LUFA/ManPages/SoftwareBootloaderJump.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'LUFA/ManPages') diff --git a/LUFA/ManPages/SoftwareBootloaderJump.txt b/LUFA/ManPages/SoftwareBootloaderJump.txt index 049f49c8f..1fad85fb7 100644 --- a/LUFA/ManPages/SoftwareBootloaderJump.txt +++ b/LUFA/ManPages/SoftwareBootloaderJump.txt @@ -54,8 +54,7 @@ * cli(); * * // Wait two seconds for the USB detachment to register on the host - * for (uint8_t i = 0; i < 128; i++) - * _delay_ms(16); + * Delay_MS(2000); * * // Set the bootloader key to the magic value and force a reset * Boot_Key = MAGIC_BOOT_KEY; -- cgit v1.2.3