Replace backwards-compatible portTICK_RATE_MS with FreeRTOS v8+ portTICK_PERIOD_MS
Closes github #51 https://github.com/espressif/esp-idf/issues/51
This commit is contained in:
@@ -338,7 +338,7 @@ void btu_task_post(uint32_t sig)
|
||||
evt.sig = sig;
|
||||
evt.par = 0;
|
||||
|
||||
if (xQueueSend(xBtuQueue, &evt, 10 / portTICK_RATE_MS) != pdTRUE) {
|
||||
if (xQueueSend(xBtuQueue, &evt, 10 / portTICK_PERIOD_MS) != pdTRUE) {
|
||||
LOG_ERROR("xBtuQueue failed\n");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user