mirror of https://github.com/ArduPilot/ardupilot
Tracker: set_likely_flying in vehicle
This commit is contained in:
parent
dd75609599
commit
1c57a6a527
|
@ -109,7 +109,7 @@ void Tracker::one_second_loop()
|
||||||
|
|
||||||
// need to set "likely flying" when armed to allow for compass
|
// need to set "likely flying" when armed to allow for compass
|
||||||
// learning to run
|
// learning to run
|
||||||
ahrs.set_likely_flying(hal.util->get_soft_armed());
|
set_likely_flying(hal.util->get_soft_armed());
|
||||||
|
|
||||||
AP_Notify::flags.flying = hal.util->get_soft_armed();
|
AP_Notify::flags.flying = hal.util->get_soft_armed();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue