Skip to content

Commit 787a422

Browse files
committed
remove some inits that just set the protobuf default
1 parent e69c406 commit 787a422

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

src/config_utils.cpp

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

504468
// addonOptions.bootselButtonOptions

0 commit comments

Comments
 (0)