AP_BoardConfig: eliminate GCS_MAVLINK::send_statustext_all

This commit is contained in:
Peter Barker 2017-07-09 14:07:34 +10:00 committed by Francisco Ferreira
parent 9e76223c34
commit 4312d1a500
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}