-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(driver/gptimer): replace vTaskDelay
with esp_rom_delay_us in test_apps This commit replaces vTaskDelay with esp_rom_delay_us in the gptimer driver. The former function can introduce millisecond jitter due to OS task switching, while the latter has less jitter because of the polling delay. Therefore this commit reduces the delta values for various timer tests. Changes made in this commit include: - Replacing vTaskDelay with esp_rom_delay_us - Adjusting delta values for various timer tests
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters