Skip to content

Commit f0937a0

Browse files
committed
remove some inits that just set the protobuf default
1 parent a1a27f0 commit f0937a0

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
@@ -527,42 +527,6 @@ void ConfigUtils::initUnsetPropertiesWithDefaults(Config& config)
527527
INIT_UNSET_PROPERTY(config.animationOptions, rainbowCycleTime, LEDS_RAINBOW_CYCLE_TIME);
528528
INIT_UNSET_PROPERTY(config.animationOptions, themeIndex, LEDS_THEME_INDEX);
529529
INIT_UNSET_PROPERTY(config.animationOptions, hasCustomTheme, false);
530-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeUp, 0);
531-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeDown, 0);
532-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeLeft, 0);
533-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeRight, 0);
534-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB1, 0);
535-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB2, 0);
536-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB3, 0);
537-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB4, 0);
538-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL1, 0);
539-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR1, 0);
540-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL2, 0);
541-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR2, 0);
542-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS1, 0);
543-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS2, 0);
544-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL3, 0);
545-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR3, 0);
546-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA1, 0);
547-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA2, 0);
548-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeUpPressed, 0);
549-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeDownPressed, 0);
550-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeLeftPressed, 0);
551-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeRightPressed, 0);
552-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB1Pressed, 0);
553-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB2Pressed, 0);
554-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB3Pressed, 0);
555-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeB4Pressed, 0);
556-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL1Pressed, 0);
557-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR1Pressed, 0);
558-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL2Pressed, 0);
559-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR2Pressed, 0);
560-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS1Pressed, 0);
561-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeS2Pressed, 0);
562-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeL3Pressed, 0);
563-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeR3Pressed, 0);
564-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA1Pressed, 0);
565-
INIT_UNSET_PROPERTY(config.animationOptions, customThemeA2Pressed, 0);
566530
INIT_UNSET_PROPERTY(config.animationOptions, buttonPressColorCooldownTimeInMs, LEDS_PRESS_COLOR_COOLDOWN_TIME);
567531

568532
// addonOptions.bootselButtonOptions

0 commit comments

Comments
 (0)