1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/driver_hih6130: replace SLEEP define

The SLEEP define collides with an Atmel header file.
Rename the define to resolve the conflict.
This commit is contained in:
Benjamin Valentin 2019-10-15 18:10:39 +02:00
parent d92e2b25ac
commit 252f22bfe2

View File

@ -32,7 +32,7 @@
#include "xtimer.h"
#include "hih6130.h"
#define SLEEP (100 * 1000U)
#define SLEEP_USEC (100 * 1000U)
int main(void)
{
@ -52,7 +52,7 @@ int main(void)
float integral = 0.f;
float fractional;
xtimer_usleep(SLEEP);
xtimer_usleep(SLEEP_USEC);
status = hih6130_get_humidity_temperature_float(&dev, &hum, &temp);
if (status < 0) {