From 200cc388025ef10f203c2088057b8bf5dceef843 Mon Sep 17 00:00:00 2001 From: Fredrik Hubinette Date: Sat, 28 Sep 2024 21:48:51 -0700 Subject: [PATCH] Revert "Update prop_base.h (#693)" (#698) This reverts commit 16bedb18a929a138dd348d811bdfadc9912a35fe. --- props/prop_base.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/props/prop_base.h b/props/prop_base.h index 2385210b1..916582106 100644 --- a/props/prop_base.h +++ b/props/prop_base.h @@ -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; }