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);
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user