Merge pull request #412 from ArjanOnwezen/fix-backlight-time-out

Fixed #398: Changed datatype to be able to store > 255 second for backlight timer
This commit is contained in:
Erwin Ried 2021-09-06 06:29:28 +02:00 committed by GitHub
commit f12eb55f6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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