mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
AP_Vehicle: add 0x to internal error statustext
This commit is contained in:
parent
aa757501f4
commit
86df7e1bfc
@ -286,7 +286,7 @@ void AP_Vehicle::loop()
|
|||||||
const uint32_t new_internal_errors = AP::internalerror().errors();
|
const uint32_t new_internal_errors = AP::internalerror().errors();
|
||||||
if(_last_internal_errors != new_internal_errors) {
|
if(_last_internal_errors != new_internal_errors) {
|
||||||
AP::logger().Write_Error(LogErrorSubsystem::INTERNAL_ERROR, LogErrorCode::INTERNAL_ERRORS_DETECTED);
|
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;
|
_last_internal_errors = new_internal_errors;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user