IDF documentation suggests microsecond delay - should be millisec

jhinkle
Posts: 17
Joined: Wed Aug 29, 2018 3:17 pm

IDF documentation suggests microsecond delay - should be millisec

Postby jhinkle » Sat Dec 08, 2018 5:00 pm

In section "API Guide - Wi-Fi Driver" -- in sub-section "ESP32 Wi-Fi API Error Code"

Currently:

or recoverable errors, in which case you can write a recoverable-error code. For example, when esp_wifi_start returns ESP_ERR_NO_MEM, the recoverable-error code vTaskDelay can be called, in order to get a microseconds’ delay for another try.


Suggested change -- change "microseconds" to "milliseconds" because vTaskDelay is based on FreeRTOS time tic which is in multiple milliseconds.

Who is online

Users browsing this forum: Google [Bot] and 127 guests