mirror of https://github.com/ArduPilot/ardupilot
AP_BoardConfig: eliminate GCS_MAVLINK::send_statustext_all
This commit is contained in:
parent
9e76223c34
commit
4312d1a500
|
@ -220,7 +220,7 @@ void AP_BoardConfig::sensor_config_error(const char *reason)
|
|||
*/
|
||||
while (true) {
|
||||
printf("Sensor failure: %s\n", reason);
|
||||
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_ERROR, "Check BRD_TYPE: %s", reason);
|
||||
gcs().send_text(MAV_SEVERITY_ERROR, "Check BRD_TYPE: %s", reason);
|
||||
hal.scheduler->delay(3000);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue