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); MutexUnlock(&client->mutex);
/* let other threads do their work */ /* let other threads do their work */
xtimer_usleep(MQTT_YIELD_POLLING_MS * US_PER_MS); xtimer_msleep(MQTT_YIELD_POLLING_MS);
} }
return NULL; return NULL;
} }