changed datatype to be able to store > 255 second for backlight timer

This commit is contained in:
Arjan Onwezen 2021-09-03 16:14:16 +02:00
parent 8afd83a4e1
commit 6871126100
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ TransmitterModel transmitter_model;
TemperatureLogger temperature_logger;
bool antenna_bias { false };
uint8_t bl_tick_counter { 0 };
uint32_t bl_tick_counter { 0 };
void set_antenna_bias(const bool v) {
antenna_bias = v;

View File

@ -54,7 +54,7 @@ extern TransmitterModel transmitter_model;
extern bool speaker_mode;
void set_speaker_mode(const bool v);
extern uint8_t bl_tick_counter;
extern uint32_t bl_tick_counter;
extern bool antenna_bias;
extern TemperatureLogger temperature_logger;