Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
GOB52 committed Oct 25, 2024
1 parent a550b41 commit 7353f7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/unit/unit_VL53L0X.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ bool UnitVL53L0X::perform_single_ref_calibration(const bool VHV)
}

auto timeout_at = m5::utility::millis() + 5000;
bool done{};
uint8_t v{};
while (!readRegister8(RESULT_INTERRUPT_STATUS, v, 0) || (v & 0x07) == 0) {
if (m5::utility::millis() > timeout_at) {
Expand Down

0 comments on commit 7353f7c

Please sign in to comment.