Skip to content

Commit 62d3e15

Browse files
committed
usermod/SN_Photoresistor: Fix invalid initializer
1 parent fab80f4 commit 62d3e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usermods/SN_Photoresistor/SN_Photoresistor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Usermod_SN_Photoresistor : public Usermod
4646
// allows this library to report to the user how long until the first
4747
// measurement
4848
bool getLuminanceComplete = false;
49-
uint16_t lastLDRValue = -1000;
49+
uint16_t lastLDRValue = 65535;
5050

5151
// flag set at startup
5252
bool disabled = false;

0 commit comments

Comments
 (0)