mirror of https://github.com/ArduPilot/ardupilot
Sub: set_likely_flying in vehicle
This commit is contained in:
parent
fbba3f4035
commit
89241d25fd
|
@ -290,7 +290,7 @@ void Sub::one_hz_loop()
|
|||
|
||||
// need to set "likely flying" when armed to allow for compass
|
||||
// learning to run
|
||||
ahrs.set_likely_flying(hal.util->get_soft_armed());
|
||||
set_likely_flying(hal.util->get_soft_armed());
|
||||
}
|
||||
|
||||
// called at 50hz
|
||||
|
|
Loading…
Reference in New Issue