Merge branch 'master' into dev

This commit is contained in:
Blaž Kristan
2021-07-01 13:41:23 +02:00
18 changed files with 2382 additions and 1896 deletions

View File

@@ -455,11 +455,8 @@ void WLED::beginStrip()
colorUpdated(NOTIFIER_CALL_MODE_INIT);
// init relay pin
if (rlyPin>=0) digitalWrite(rlyPin, (bri ? rlyMde : !rlyMde));
// disable button if it is "pressed" unintentionally
//if (btnPin>=0 && buttonType == BTN_TYPE_PUSH && isButtonPressed())
// buttonType = BTN_TYPE_NONE;
if (rlyPin>=0)
digitalWrite(rlyPin, (rlyMde ? bri : !bri));
}
void WLED::initAP(bool resetAP)