Disable specific warnings to mitigate compilation problems with KEEP_INTERMEDIATES=yes. (#20339)

This commit is contained in:
Nick Brassel 2023-04-05 14:59:09 +10:00 committed by GitHub
parent f1dbffe367
commit 06c5c02804
Failed to generate hash of commit
7 changed files with 25 additions and 6 deletions

View file

@ -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)
{