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:
Laurent Navet 2017-02-08 23:02:16 +01:00
parent 924fff7513
commit 13286cd89f

View File

@ -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;
}