Skip to content

Commit d9c32b3

Browse files
committed
fix: remove unnecessary redeclaration of an existing variable
1 parent 0de5429 commit d9c32b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void setup()
6060
}
6161

6262
if (light_meter.begin()) {
63-
float illumination = light_meter.readLightLevel();
63+
illumination = light_meter.readLightLevel();
6464
} else {
6565
serial_log("Could not find BH1750!");
6666
}

0 commit comments

Comments
 (0)