endail / hx711-pico-c

Implementation of single and multiple HX711 use via RP2040's state machine
https://endail.github.io/hx711-pico-c/
MIT License
32 stars 7 forks source link

Cast to underlying enum value is wrong #25

Closed endail closed 2 years ago

endail commented 2 years ago

https://github.com/endail/hx711-pico-c/blob/5b17f0e93280583ceb93f04dce2d031b090c4aee/include/hx711.h#L178

This needs to cast to the corresponding index of the settling times array