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:
parent
82382a7e9c
commit
7da89c611d
@ -545,7 +545,7 @@ void AP_BoardConfig::px4_sensor_error(const char *reason)
|
|||||||
*/
|
*/
|
||||||
while (true) {
|
while (true) {
|
||||||
printf("Sensor failure: %s\n", reason);
|
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);
|
hal.scheduler->delay(3000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user