Skip to content

Commit

Permalink
remove some inits that just set the protobuf default
Browse files Browse the repository at this point in the history
  • Loading branch information
bsstephan committed Apr 15, 2024
1 parent 5357b89 commit e7acadb
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions src/config_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,42 +463,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

0 comments on commit e7acadb

Please sign in to comment.