Browse Source

Rover: ahrs only checks position in modes that require it

c415-sdk
Randy Mackay 4 years ago committed by Andrew Tridgell
parent
commit
f6da769de8
  1. 2
      Rover/AP_Arming.cpp

2
Rover/AP_Arming.cpp

@ -43,7 +43,7 @@ bool AP_Arming_Rover::gps_checks(bool display_failure)
// always check if inertial nav has started and is ready // always check if inertial nav has started and is ready
char failure_msg[50] = {}; char failure_msg[50] = {};
if (!ahrs.pre_arm_check(failure_msg, sizeof(failure_msg))) { if (!ahrs.pre_arm_check(true, failure_msg, sizeof(failure_msg))) {
check_failed(display_failure, "AHRS: %s", failure_msg); check_failed(display_failure, "AHRS: %s", failure_msg);
return false; return false;
} }

Loading…
Cancel
Save