Skip to content

Commit

Permalink
Number 0 fixed. Default Rainbow duration adjusted.
Browse files Browse the repository at this point in the history
  • Loading branch information
aly-fly committed Aug 30, 2024
1 parent a115154 commit 8afb027
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified EleksTubeHAX_pio/data/10.bmp
Binary file not shown.
2 changes: 1 addition & 1 deletion EleksTubeHAX_pio/src/Backlights.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void Backlights::begin(StoredConfig::Config::Backlights *config_) {
setIntensity(max_intensity-1);
setPulseRate(60);
setBreathRate(20);
setRainbowDuration(2);
setRainbowDuration(DEFAULT_BL_RAINBOW_DURATION_SEC);
config->is_valid = StoredConfig::valid;
}
off = false;
Expand Down
2 changes: 2 additions & 0 deletions EleksTubeHAX_pio/src/GLOBAL_DEFINES.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
// ************ Temperature config *********************
#define TEMPERATURE_READ_EVERY_SEC 60 // how often to read the temperature sensor (if present)

// ************ Backlight config *********************
#define DEFAULT_BL_RAINBOW_DURATION_SEC 8

// ************ Hardware definitions *********************

Expand Down

0 comments on commit 8afb027

Please sign in to comment.