Fix light not turnng of when slider set to 0 (hopefully)
This commit is contained in:
@@ -26,7 +26,7 @@ void lightControl() {
|
||||
}
|
||||
|
||||
if (lightMode == 0) {
|
||||
if (pwmOn == false) {
|
||||
if (pwmOn == false || pwmBrightness == 0) {
|
||||
pwmBrightnessOut = 0;
|
||||
}
|
||||
if (pwmOn == true && pwmBrightness != pwmBrightnessOut) {
|
||||
|
||||
Reference in New Issue
Block a user