AP_Vehicle: add 0x to internal error statustext

This commit is contained in:
Peter Barker 2022-09-28 11:15:44 +10:00 committed by Peter Barker
parent aa757501f4
commit 86df7e1bfc

View File

@ -286,7 +286,7 @@ void AP_Vehicle::loop()
const uint32_t new_internal_errors = AP::internalerror().errors();
if(_last_internal_errors != new_internal_errors) {
AP::logger().Write_Error(LogErrorSubsystem::INTERNAL_ERROR, LogErrorCode::INTERNAL_ERRORS_DETECTED);
gcs().send_text(MAV_SEVERITY_CRITICAL, "Internal Errors %x", (unsigned)new_internal_errors);
gcs().send_text(MAV_SEVERITY_CRITICAL, "Internal Errors 0x%x", (unsigned)new_internal_errors);
_last_internal_errors = new_internal_errors;
}
}