Skip to content

Commit

Permalink
removed 20ms hard limit for timing budget to match API 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-pololu committed Mar 31, 2022
1 parent b51bf1b commit 9889ed6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions VL53L0X.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,6 @@ bool VL53L0X::setMeasurementTimingBudget(uint32_t budget_us)
uint16_t const PreRangeOverhead = 660;
uint16_t const FinalRangeOverhead = 550;

uint32_t const MinTimingBudget = 20000;

if (budget_us < MinTimingBudget) { return false; }

uint32_t used_budget_us = StartOverhead + EndOverhead;

getSequenceStepEnables(&enables);
Expand Down

0 comments on commit 9889ed6

Please sign in to comment.