state-handler: fix auto mode
This commit is contained in:
@@ -75,8 +75,10 @@ public:
|
||||
|
||||
private:
|
||||
volatile std::atomic_int counter;
|
||||
volatile std::atomic_int prev_ticks;
|
||||
uint32_t freq;
|
||||
bool mode;
|
||||
|
||||
};
|
||||
|
||||
#endif /* TIMER_H_ */
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
enum _global_values
|
||||
{
|
||||
LCD_SIZE = 16,
|
||||
TIMER_GLOBAL_TIMEOUT = 15000,
|
||||
TIMER_GLOBAL_TIMEOUT = 120000,
|
||||
TIMER_SENSORS_TIMEOUT = 5000,
|
||||
TIMER_PRESSURE_TIMEOUT = 500,
|
||||
TIMER_PRESSURE_TIMEOUT = 250,
|
||||
TIMER_ERROR_VALUE = -255,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user