From 2a42dc97aa325d426bbc74dbd672bcd5fb4ce63d Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 10 Mar 2022 07:27:06 +0100 Subject: [PATCH] tests/driver_sht3x: ztimer_msec port --- tests/driver_sht3x/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/driver_sht3x/main.c b/tests/driver_sht3x/main.c index b2655ad930..02a80bba71 100644 --- a/tests/driver_sht3x/main.c +++ b/tests/driver_sht3x/main.c @@ -18,7 +18,7 @@ #include #include -#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;