mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
96f152341a
1. call esp_timer_get_time and ref_clock_get in the same order on start and in the loop 2. disable interrupts when calculating delta between ref_clock and esp_timer 3. ensure both functions are in cache before calculating the delta