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:
parent
de2f576437
commit
1c61d36173
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user