Add user selectable Gamma
Add panel visualisation (@ewoudwijma, #3090) Bugfix: - PIR onStateChange() ignored until inited - remove matrix orientation - ignore removing ledmap 0 if 2D - _globalLeds size
This commit is contained in:
@@ -375,6 +375,7 @@ public:
|
||||
* onStateChanged() is used to detect WLED state change
|
||||
*/
|
||||
void onStateChange(uint8_t mode) {
|
||||
if (!initDone) return;
|
||||
DEBUG_PRINT(F("PIR: offTimerStart=")); DEBUG_PRINTLN(offTimerStart);
|
||||
if (PIRtriggered && offTimerStart) {
|
||||
// checking PIRtriggered and offTimerStart will prevent cancellation upon On trigger
|
||||
|
||||
Reference in New Issue
Block a user