Airspeed: preflight check for bad offset, fixed calls to preflight checks (vtol & airspeed)

This commit is contained in:
Andreas Antener
2016-11-14 00:15:20 +01:00
committed by Lorenz Meier
parent f092b31f54
commit f772fc2d02
8 changed files with 72 additions and 43 deletions
@@ -293,10 +293,10 @@ bool StateMachineHelperTest::armingStateTransitionTest(void)
// Attempt transition
transition_result_t result = arming_state_transition(&status, &battery, &safety, test->requested_state, &armed,
false /* no pre-arm checks */,
nullptr /* no mavlink_log_pub */,
&status_flags,
5.0f, check_gps);
false /* no pre-arm checks */,
nullptr /* no mavlink_log_pub */,
&status_flags,
5.0f, check_gps, 2e6);
// Validate result of transition
ut_compare(test->assertMsg, test->expected_transition_result, result);