mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user