mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-01 06:19:16 +02:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user