mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
16cdbd9f5c
Previously it would return ESP_ERR_INVALID_STATE, which meant that if called from user-code before the system tries to initialize the timer then esp-idf would fail to boot. This could happen if a user wanted to use esp-timer from a cpp constructor. Closes https://github.com/espressif/esp-idf/issues/9679