bme680-air-meter-sw/delay.c

10 lines
107 B
C
Raw Normal View History

2019-10-17 20:18:09 +02:00
#include <delay.h>
volatile uint32_t tick;
void delay_ms(uint32_t ms)
{
tick = 0;
while (tick < ms);
}