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

pkg/paho-mqtt: convert to xtimer_msleep()

This commit is contained in:
Benjamin Valentin 2020-11-04 23:00:50 +01:00
parent de2f576437
commit 1c61d36173

View File

@ -215,7 +215,7 @@ void *mqtt_riot_run(void *arg)
}
MutexUnlock(&client->mutex);
/* let other threads do their work */
xtimer_usleep(MQTT_YIELD_POLLING_MS * US_PER_MS);
xtimer_msleep(MQTT_YIELD_POLLING_MS);
}
return NULL;
}