mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Arming: mark check_failed as taking a format string
This commit is contained in:
parent
cee7cce1ca
commit
95b8c12454
@ -139,7 +139,7 @@ protected:
|
|||||||
// returns a mavlink severity which should be used if a specific check fails
|
// returns a mavlink severity which should be used if a specific check fails
|
||||||
MAV_SEVERITY check_severity(const enum AP_Arming::ArmingChecks check) const;
|
MAV_SEVERITY check_severity(const enum AP_Arming::ArmingChecks check) const;
|
||||||
// handle the case where a check fails
|
// handle the case where a check fails
|
||||||
void check_failed(const enum AP_Arming::ArmingChecks check, bool report, const char *fmt, ...) const;
|
void check_failed(const enum AP_Arming::ArmingChecks check, bool report, const char *fmt, ...) const FMT_PRINTF(4, 5);
|
||||||
|
|
||||||
void Log_Write_Arm_Disarm();
|
void Log_Write_Arm_Disarm();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user