| 4045 | uint8_t state_timer_heater; |
| 4046 | inline void dec() { if (state_timer_heater > 0) state_timer_heater--; } |
| 4047 | inline bool ready(const bool v) { |
| 4048 | const bool rdy = !state_timer_heater; |
| 4049 | if (rdy && state_heater != v) { |
| 4050 | state_heater = v; |
| 4051 | state_timer_heater = MIN_STATE_TIME; |
| 4052 | } |
| 4053 | return rdy; |
| 4054 | } |
| 4055 | #endif |
| 4056 | }; |
| 4057 |
no outgoing calls
no test coverage detected