commander move avionics rail voltage check out of state machine

- add preflight_check helper
This commit is contained in:
Daniel Agar
2018-04-16 20:43:33 -04:00
parent 8931f1a75c
commit 729c98d9e2
7 changed files with 128 additions and 109 deletions
@@ -265,7 +265,6 @@ bool StateMachineHelperTest::armingStateTransitionTest()
false /* no pre-arm checks */,
nullptr /* no mavlink_log_pub */,
&status_flags,
5.0f, /* avionics rail voltage */
(check_gps ? ARM_REQ_GPS_BIT : 0),
2e6 /* 2 seconds after boot, everything should be checked */
);