From cd0471386daef12c17501c716328a37eb7c4b98e Mon Sep 17 00:00:00 2001 From: Renaud11232 Date: Wed, 12 Oct 2022 18:18:43 +0200 Subject: [PATCH] Fix SSDR usermod compilation (#2825) --- .../usermod_seven_segment_reloaded.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usermods/seven_segment_display_reloaded/usermod_seven_segment_reloaded.h b/usermods/seven_segment_display_reloaded/usermod_seven_segment_reloaded.h index 6274abce..b1a271a6 100644 --- a/usermods/seven_segment_display_reloaded/usermod_seven_segment_reloaded.h +++ b/usermods/seven_segment_display_reloaded/usermod_seven_segment_reloaded.h @@ -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();