endail/hx711

Strict timing is not feasible for user space code

endail opened this issue · 0 comments

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?