mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2026-01-08 06:11:57 +00:00
Fix compilation error for tap_code_delay() (#11938)
This commit is contained in:
@@ -947,7 +947,9 @@ void unregister_code(uint8_t code) {
|
||||
*/
|
||||
void tap_code_delay(uint8_t code, uint16_t delay) {
|
||||
register_code(code);
|
||||
wait_ms(delay);
|
||||
for (uint16_t i = delay; i > 0; i--) {
|
||||
wait_ms(1);
|
||||
}
|
||||
unregister_code(code);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user