Skip to content

Commit

Permalink
AP_Arming: tidy pre_arm_checks
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Jun 28, 2024
1 parent e835aee commit d67747d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Arming/AP_Arming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ bool AP_Arming::gps_checks(bool report)

// Any failure messages from GPS backends
char failure_msg[50] = {};
if (!AP::gps().backends_healthy(failure_msg, ARRAY_SIZE(failure_msg))) {
if (!AP::gps().pre_arm_checks(failure_msg, ARRAY_SIZE(failure_msg))) {
if (failure_msg[0] != '\0') {
check_failed(ARMING_CHECK_GPS, report, "%s", failure_msg);
}
Expand Down

0 comments on commit d67747d

Please sign in to comment.