AP_Motors: use GCS_SEND_TEXT

This commit is contained in:
Peter Barker 2024-02-13 16:00:48 +11:00 committed by Peter Barker
parent d33cc2847d
commit 5de4ac4258

View File

@ -266,7 +266,7 @@ void AP_MotorsMatrix_6DoF_Scripting::add_motor(int8_t motor_num, float roll_fact
uint8_t chan;
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: unable to setup motor %u", motor_num);
return;
}