AP_Arming: resolve check_failed compiler warning
This commit is contained in:
parent
bf0a947317
commit
2bfc26621a
@ -685,7 +685,7 @@ bool AP_Arming::system_checks(bool report)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (AP::internalerror().errors() != 0) {
|
if (AP::internalerror().errors() != 0) {
|
||||||
check_failed(ARMING_CHECK_NONE, report, "Internal errors (0x%x)", AP::internalerror().errors());
|
check_failed(ARMING_CHECK_NONE, report, "Internal errors (0x%x)", (unsigned int)AP::internalerror().errors());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user