error-handler: pending task

This commit is contained in:
Vasily Davydov
2022-10-27 18:45:12 +03:00
parent dc43afd441
commit 857e50a62b
3 changed files with 27 additions and 10 deletions

View File

@@ -122,6 +122,8 @@ private:
Fan *_propeller;
PressureWrapper *_pressure;
bool pressure_status;
bool task_is_pending;
uint8_t pressure_achieved;
Timer *state_timer;
/* CO2 sensor object */
GMP252 co2;

View File

@@ -18,7 +18,7 @@
enum _global_values
{
LCD_SIZE = 16,
TIMER_GLOBAL_TIMEOUT = 10000,
TIMER_GLOBAL_TIMEOUT = 120000,
TIMER_SENSORS_TIMEOUT = 5000,
TIMER_PRESSURE_TIMEOUT = 150,
TIMER_ERROR_VALUE = -255,