From cd250831d51126fc3c0d217f18a0702640881f44 Mon Sep 17 00:00:00 2001 From: Alessandro Simovic Date: Mon, 19 Mar 2018 13:25:00 +0100 Subject: [PATCH] commander: removed duplicated startup tune Addressing review comments in PR #9096 --- src/modules/commander/commander.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 5a5fbe7d88..ea36195742 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -1529,13 +1529,11 @@ Commander::run() if (status.hil_state == vehicle_status_s::HIL_STATE_ON) { // HIL configuration selected: real sensors will be disabled status_flags.condition_system_sensors_initialized = false; - set_tune_override(TONE_STARTUP_TUNE); //normal boot tune } else { // sensor diagnostics done continuously, not just at boot so don't warn about any issues just yet status_flags.condition_system_sensors_initialized = Preflight::preflightCheck(&mavlink_log_pub, true, checkAirspeed, (status.rc_input_mode == vehicle_status_s::RC_IN_MODE_DEFAULT), !status_flags.circuit_breaker_engaged_gpsfailure_check, false, is_vtol(&status), false, false, hrt_elapsed_time(&commander_boot_timestamp)); - set_tune_override(TONE_STARTUP_TUNE); //normal boot tune } // user adjustable duration required to assert arm/disarm via throttle/rudder stick