mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/driver_sht3x: ztimer_msec port
This commit is contained in:
parent
0508850266
commit
2a42dc97aa
@ -18,7 +18,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "xtimer.h"
|
||||
#include "ztimer.h"
|
||||
#include "sht3x.h"
|
||||
#include "sht3x_params.h"
|
||||
|
||||
@ -55,7 +55,7 @@ int main(void)
|
||||
else {
|
||||
printf("Could not read data from sensor, error %d\n", res);
|
||||
}
|
||||
xtimer_usleep(1000000);
|
||||
ztimer_sleep(ZTIMER_MSEC, 1000);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user