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:
parent
d92e2b25ac
commit
252f22bfe2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user