Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start migrating to protobuf board configs #970

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove some inits that just set the protobuf default
  • Loading branch information
bsstephan committed Dec 12, 2024
commit d240ae8934a09b16b81601bd5cf9b6ca4cb4f18a
36 changes: 0 additions & 36 deletions src/config_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,42 +475,6 @@ void ConfigUtils::initUnsetPropertiesWithDefaults(Config& config)
INIT_UNSET_PROPERTY(config.animationOptions, rainbowCycleTime, LEDS_RAINBOW_CYCLE_TIME);
INIT_UNSET_PROPERTY(config.animationOptions, themeIndex, LEDS_THEME_INDEX);
INIT_UNSET_PROPERTY(config.animationOptions, hasCustomTheme, false);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeUp, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeDown, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeLeft, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeRight, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB1, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB2, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB3, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB4, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL1, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR1, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL2, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR2, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS1, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS2, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL3, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR3, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA1, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA2, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeUpPressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeDownPressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeLeftPressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeRightPressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB1Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB2Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB3Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB4Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL1Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR1Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL2Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR2Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS1Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS2Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL3Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR3Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA1Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA2Pressed, 0);
INIT_UNSET_PROPERTY(config.animationOptions, buttonPressColorCooldownTimeInMs, LEDS_PRESS_COLOR_COOLDOWN_TIME);

// addonOptions.bootselButtonOptions
Expand Down