forked from mirrors/qmk_userspace
Disable specific warnings to mitigate compilation problems with KEEP_INTERMEDIATES=yes
. (#20339)
This commit is contained in:
parent
f1dbffe367
commit
06c5c02804
7 changed files with 25 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue