mirror of
https://github.com/wled/WLED.git
synced 2025-11-14 05:20:56 +00:00
usermods: Remove #pragma once from cpps
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "wled.h"
|
||||
|
||||
#ifndef PIR_SENSOR_PIN
|
||||
@@ -571,7 +569,7 @@ bool PIRsensorSwitch::readFromConfig(JsonObject &root)
|
||||
// use "return !top["newestParameter"].isNull();" when updating Usermod with new features
|
||||
return !(pins.isNull() || pins.size() != PIR_SENSOR_MAX_SENSORS);
|
||||
}
|
||||
|
||||
|
||||
static PIRsensorSwitch pir_sensor_switch;
|
||||
|
||||
|
||||
static PIRsensorSwitch pir_sensor_switch;
|
||||
REGISTER_USERMOD(pir_sensor_switch);
|
||||
Reference in New Issue
Block a user