diff options
author | Nick Brassel <nick@tzarc.org> | 2023-04-05 14:59:09 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 14:59:09 +1000 |
commit | 06c5c028046adc0a5501f6ac51953640e2015020 (patch) | |
tree | 9c5b9ebb54a2b071be29eaec22551c4f6924b8c4 /tmk_core/protocol | |
parent | f1dbffe367ca3b2affbcdc5f7e5027f32d2e655d (diff) |
Disable specific warnings to mitigate compilation problems with `KEEP_INTERMEDIATES=yes`. (#20339)
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r-- | tmk_core/protocol/usb_hid/override_wiring.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/protocol/usb_hid/override_wiring.c b/tmk_core/protocol/usb_hid/override_wiring.c index adc6645f8e..40bb574d7d 100644 --- a/tmk_core/protocol/usb_hid/override_wiring.c +++ b/tmk_core/protocol/usb_hid/override_wiring.c @@ -2,7 +2,7 @@ * To keep Timer0 for common/timer.c override arduino/wiring.c. */ #define __DELAY_BACKWARD_COMPATIBLE__ -#include <util/delay.h> +#include "wait.h" #include "platforms/timer.h" @@ -16,11 +16,11 @@ unsigned long micros(void) } void delay(unsigned long ms) { - _delay_ms(ms); + wait_ms(ms); } void delayMicroseconds(unsigned int us) { - _delay_us(us); + wait_us(us); } void init(void) { |