From b69dbd0c2e7c1532f1a1523251404cf0f9ed5953 Mon Sep 17 00:00:00 2001 From: muramura Date: Sat, 2 Sep 2023 06:56:20 +0900 Subject: [PATCH] AP_HAL: Delete commented-out processes --- libraries/AP_HAL/SIMState.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libraries/AP_HAL/SIMState.cpp b/libraries/AP_HAL/SIMState.cpp index ba56236210..776e56ef74 100644 --- a/libraries/AP_HAL/SIMState.cpp +++ b/libraries/AP_HAL/SIMState.cpp @@ -197,12 +197,6 @@ void SIMState::fdm_input_local(void) if (frsky_d != nullptr) { frsky_d->update(); } - // if (frsky_sport != nullptr) { - // frsky_sport->update(); - // } - // if (frsky_sportpassthrough != nullptr) { - // frsky_sportpassthrough->update(); - // } #if AP_SIM_CRSF_ENABLED if (crsf != nullptr) { @@ -267,7 +261,6 @@ void SIMState::_simulator_servos(struct sitl_input &input) { // output at chosen framerate uint32_t now = AP_HAL::micros(); - // last_update_usec = now; // find the barometer object if it exists const auto *_barometer = AP_Baro::get_singleton();