summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/usb_hid/override_wiring.c6
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)
{