diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index f24737411c..91a0643e19 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -849,14 +849,12 @@ Mavlink::set_hil_enabled(bool hil_enabled) if (hil_enabled && !_hil_enabled) { _hil_enabled = true; configure_stream("HIL_ACTUATOR_CONTROLS", 200.0f); - configure_stream("HIL_CONTROLS", 200.0f); //for compatibility, publish the old message as well } /* disable HIL */ if (!hil_enabled && _hil_enabled) { _hil_enabled = false; configure_stream("HIL_ACTUATOR_CONTROLS", 0.0f); - configure_stream("HIL_CONTROLS", 0.0f); } else { ret = PX4_ERROR;