Skip to content

Commit 84c98f3

Browse files
committed
Remove unused variables warnings
1 parent 2c671b1 commit 84c98f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modulino.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ class ModulinoDistance : public Module {
417417
return NAN;
418418
}
419419
uint8_t NewDataReady = 0;
420-
uint8_t status = tof_sensor->VL53L4CD_CheckForDataReady(&NewDataReady);
420+
tof_sensor->VL53L4CD_CheckForDataReady(&NewDataReady);
421421
if (NewDataReady) {
422422
tof_sensor->VL53L4CD_ClearInterrupt();
423423
tof_sensor->VL53L4CD_GetResult(&results);

0 commit comments

Comments
 (0)