From bb1dc2e9a1a2f4105793515ec118c2f1703f049f Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Tue, 8 Mar 2022 15:23:59 +0000 Subject: [PATCH] AP_Motors: update no motor found warning message --- libraries/AP_Motors/AP_Motors_Class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Motors/AP_Motors_Class.cpp b/libraries/AP_Motors/AP_Motors_Class.cpp index 7f51eea1cc..4c5d746f6f 100644 --- a/libraries/AP_Motors/AP_Motors_Class.cpp +++ b/libraries/AP_Motors/AP_Motors_Class.cpp @@ -199,7 +199,7 @@ void AP_Motors::add_motor_num(int8_t motor_num) SRV_Channel::Aux_servo_function_t function = SRV_Channels::get_motor_function(motor_num); SRV_Channels::set_aux_channel_default(function, motor_num); if (!SRV_Channels::find_channel(function, chan)) { - gcs().send_text(MAV_SEVERITY_ERROR, "Motors: unable to setup motor %u", motor_num); + gcs().send_text(MAV_SEVERITY_ERROR, "Motors: no SERVOx_FUNCTION set to Motor%u", motor_num + 1); } } }