AP_BoardConfig: use a STATUSTEXT to show better in MP

this makes it easier to see why it won't boot
This commit is contained in:
Andrew Tridgell 2016-08-08 17:28:51 +10:00
parent 82382a7e9c
commit 7da89c611d
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ void AP_BoardConfig::px4_sensor_error(const char *reason)
*/
while (true) {
printf("Sensor failure: %s\n", reason);
hal.console->printf("Check BRD_TYPE: %s\n", reason);
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_ERROR, "Check BRD_TYPE: %s", reason);
hal.scheduler->delay(3000);
}
}