Skip to content
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

Strict timing is not feasible for user space code #79

Open
endail opened this issue Jan 7, 2023 · 0 comments
Open

Strict timing is not feasible for user space code #79

endail opened this issue Jan 7, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request question Further information is requested

Comments

@endail
Copy link
Owner

endail commented Jan 7, 2023

if(this->_strictTiming && diff >= _POWER_DOWN_TIMEOUT) {

The conditionals to check for these flags waste precious CPU cycles in what is an ultimately critical section. Perhaps a preprocessor flag should be used to gate them instead?

@endail endail added bug Something isn't working enhancement New feature or request question Further information is requested labels Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant