tests/driver_mq3: fix build upon avr 8 bits MCU
fix tests/driver_mq3/main.c:58:27: error: integer overflow in expression [-Werror=overflow]
xtimer_usleep(500 * 1000);
This commit is contained in:
parent
924fff7513
commit
13286cd89f
@ -55,7 +55,7 @@ int main(void)
|
||||
|
||||
printf("RAW: %4i, per mille: %1i.%03i\n", raw, alc_a, alc_b);
|
||||
|
||||
xtimer_usleep(500 * 1000);
|
||||
xtimer_usleep((uint32_t)500 * SEC_IN_MS);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user