RGB Caselight (#20341)

This commit is contained in:
LinFor
2021-02-28 01:06:48 +03:00
committed by GitHub
parent ee7701c15b
commit e0aa9ce372
14 changed files with 86 additions and 41 deletions

View File

@@ -1136,10 +1136,7 @@ void setup() {
#endif
#if ENABLED(CASE_LIGHT_ENABLE)
#if DISABLED(CASE_LIGHT_USE_NEOPIXEL)
if (PWM_PIN(CASE_LIGHT_PIN)) SET_PWM(CASE_LIGHT_PIN); else SET_OUTPUT(CASE_LIGHT_PIN);
#endif
SETUP_RUN(caselight.update_brightness());
SETUP_RUN(caselight.init());
#endif
#if HAS_PRUSA_MMU1