1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 18:13:49 +01:00

tests/driver_sht3x: ztimer_msec port

This commit is contained in:
Gunar Schorcht 2022-03-10 07:27:06 +01:00
parent 0508850266
commit 2a42dc97aa

View File

@ -18,7 +18,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "xtimer.h" #include "ztimer.h"
#include "sht3x.h" #include "sht3x.h"
#include "sht3x_params.h" #include "sht3x_params.h"
@ -55,7 +55,7 @@ int main(void)
else { else {
printf("Could not read data from sensor, error %d\n", res); printf("Could not read data from sensor, error %d\n", res);
} }
xtimer_usleep(1000000); ztimer_sleep(ZTIMER_MSEC, 1000);
} }
return 0; return 0;