Reworks the scale calibration handling

Fixes some issues in the scale handling. Prevents a wdg reset after
after scale calibration. Also makes sure that after calibration all
tasks are started again that have been suspsended before.
This commit is contained in:
Jan Philipp Ecker
2025-03-03 16:37:03 +01:00
parent 3818c2c059
commit d434fde92e
3 changed files with 71 additions and 56 deletions

View File

@ -12,7 +12,7 @@ uint8_t tareScale();
extern HX711 scale;
extern int16_t weight;
extern uint8_t weigthCouterToApi;
extern uint8_t scale_tare_counter;
extern uint8_t scaleTareRequest;
extern uint8_t pauseMainTask;
extern uint8_t scaleCalibrated;