mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-12 06:27:17 +00:00
ESP-IDF Robot Controls
This commit is contained in:
@@ -828,7 +828,8 @@ void app_main(void)
|
||||
* To avoid a task watchdog timeout, add a delay here. When you replace the way you process the data,
|
||||
* usually you don't need this delay (as this task will block for a while).
|
||||
*/
|
||||
vTaskDelay(1);
|
||||
//vTaskDelay(1);
|
||||
vTaskDelay(CONFIG_BLINK_PERIOD / portTICK_PERIOD_MS);
|
||||
} else if (ret == ESP_ERR_TIMEOUT) {
|
||||
//We try to read `EXAMPLE_READ_LEN` until API returns timeout, which means there's no available data
|
||||
break;
|
||||
|
Reference in New Issue
Block a user