Fix SSDR usermod compilation (#2825)
This commit is contained in:
parent
1daa97545b
commit
cd0471386d
@ -384,7 +384,7 @@ public:
|
|||||||
if (!umSSDRDisplayTime || strip.isUpdating()) {
|
if (!umSSDRDisplayTime || strip.isUpdating()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#ifdef USERMOD_ID_SN_PHOTORESISTOR
|
#ifdef USERMOD_SN_PHOTORESISTOR
|
||||||
if(bri != 0 && umSSDREnableLDR && (millis() - umSSDRLastRefresh > umSSDRResfreshTime)) {
|
if(bri != 0 && umSSDREnableLDR && (millis() - umSSDRLastRefresh > umSSDRResfreshTime)) {
|
||||||
if (ptr != nullptr) {
|
if (ptr != nullptr) {
|
||||||
uint16_t lux = ptr->getLastLDRValue();
|
uint16_t lux = ptr->getLastLDRValue();
|
||||||
|
Loading…
Reference in New Issue
Block a user