Skip to content

Commit 26a2c25

Browse files
committed
remove some inits that just set the protobuf default
1 parent 6a365bc commit 26a2c25

1 file changed

Lines changed: 0 additions & 36 deletions

File tree

src/config_utils.cpp

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -470,42 +470,6 @@ void ConfigUtils::initUnsetPropertiesWithDefaults(Config& config)
470470
INIT_UNSET_PROPERTY(config.animationOptions, rainbowCycleTime, LEDS_RAINBOW_CYCLE_TIME);
471471
INIT_UNSET_PROPERTY(config.animationOptions, themeIndex, LEDS_THEME_INDEX);
472472
INIT_UNSET_PROPERTY(config.animationOptions, hasCustomTheme, false);
473-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeUp, 0);
474-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeDown, 0);
475-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeLeft, 0);
476-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeRight, 0);
477-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB1, 0);
478-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB2, 0);
479-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB3, 0);
480-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB4, 0);
481-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL1, 0);
482-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR1, 0);
483-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL2, 0);
484-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR2, 0);
485-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS1, 0);
486-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS2, 0);
487-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL3, 0);
488-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR3, 0);
489-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA1, 0);
490-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA2, 0);
491-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeUpPressed, 0);
492-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeDownPressed, 0);
493-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeLeftPressed, 0);
494-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeRightPressed, 0);
495-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB1Pressed, 0);
496-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB2Pressed, 0);
497-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB3Pressed, 0);
498-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB4Pressed, 0);
499-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL1Pressed, 0);
500-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR1Pressed, 0);
501-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL2Pressed, 0);
502-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR2Pressed, 0);
503-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS1Pressed, 0);
504-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS2Pressed, 0);
505-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL3Pressed, 0);
506-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR3Pressed, 0);
507-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA1Pressed, 0);
508-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA2Pressed, 0);
509473
INIT_UNSET_PROPERTY(config.animationOptions, buttonPressColorCooldownTimeInMs, LEDS_PRESS_COLOR_COOLDOWN_TIME);
510474

511475
// addonOptions.bootselButtonOptions

0 commit comments

Comments
 (0)