kopia lustrzana https://github.com/Aircoookie/WLED
Fix SSDR usermod compilation (#2825)
rodzic
1daa97545b
commit
cd0471386d
|
@ -384,7 +384,7 @@ public:
|
|||
if (!umSSDRDisplayTime || strip.isUpdating()) {
|
||||
return;
|
||||
}
|
||||
#ifdef USERMOD_ID_SN_PHOTORESISTOR
|
||||
#ifdef USERMOD_SN_PHOTORESISTOR
|
||||
if(bri != 0 && umSSDREnableLDR && (millis() - umSSDRLastRefresh > umSSDRResfreshTime)) {
|
||||
if (ptr != nullptr) {
|
||||
uint16_t lux = ptr->getLastLDRValue();
|
||||
|
|
Ładowanie…
Reference in New Issue