Skip to content

Commit

Permalink
Revert "Update prop_base.h (#693)" (#698)
Browse files Browse the repository at this point in the history
This reverts commit 16bedb1.
  • Loading branch information
profezzorn authored Sep 29, 2024
1 parent 16bedb1 commit 200cc38
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions props/prop_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -587,15 +587,11 @@ class PropBase : CommandParser, Looper, protected SaberBase, public ModeInterfac
uint32_t now = millis();
if (now - last_scan_id_ > BLADE_ID_SCAN_MILLIS) {
last_scan_id_ = now;
#ifdef SCAN_BLADE_ID_MONITORING
size_t best_config = FindBestConfig(true);
#else
size_t best_config = FindBestConfig();
#endif
if (current_config != blades + best_config) {
// We can't call FindBladeAgain right away because
// we're called from the blade. Wait until next loop() call.
find_blade_again_pending_ = true;
find_blade_again_pending_ = true;
}
return true;
}
Expand Down

0 comments on commit 200cc38

Please sign in to comment.