endail / hx711

Raspberry Pi HX711 C++ Library
MIT License
19 stars 11 forks source link

HX711::powerDown should not block by sleeping for timeout duration #67

Closed endail closed 1 year ago

endail commented 1 year ago

https://github.com/endail/hx711/blob/42d6305ab0aa8ad03e066a67a64228dc67bef4be/src/HX711.cpp#L344-L365

Timeout should be separate from powering down to allow other/concurrent code to run.

endail commented 1 year ago

Accidentally fixed in #68