Skip to content

Commit

Permalink
changed datatype to be able to store > 255 second for backlight timer
Browse files Browse the repository at this point in the history
  • Loading branch information
ArjanOnwezen committed Sep 3, 2021
1 parent 8afd83a commit 6871126
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion firmware/application/portapack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion firmware/application/portapack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6871126

Please sign in to comment.