forked from espressif/esp-idf
The implementation of esp_timer_get_time used a critical section, which resulted in a call time of ~1.8us. To make esp_timer_get_time more useable as a high-resolution time source, this change replaces the lock with polling. Call time is reduced to ~0.7us.
10 KiB
10 KiB