-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix time drift - fix esp_timer_get_time - exclude some unused from compile (GIT8266O-650) #1072
base: master
Are you sure you want to change the base?
Conversation
f8fb767
to
39447b0
Compare
The esp_timer_get_time previously proposed has an issue due a possible underflow in case of a frequency switch condition. |
minimize time error (<1us) after esp_set_cpu_freq() calls. Make sure monotonic esp_timer_get_time()
As I mentioned, esp_set_cpu_freq() may cause error in the values returned from esp_timer_get_time(). These returned values may not be monotonic (dangerous). Closes #1068 |
a portion of xPortSysTickHandle is rewritten to solve the time drift issue in:
#1068 (comment)
Note:
This is my first pull request, so I would be grateful for any feedback.
Thank you.