mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 23:09:26 -05:00
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:
commit
f12eb55f6b
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user