mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tracker: fill Notify flag for flying
This commit is contained in:
parent
5b618fb582
commit
6b4733c9f0
@ -121,6 +121,8 @@ 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());
|
ahrs.set_likely_flying(hal.util->get_soft_armed());
|
||||||
|
|
||||||
|
AP_Notify::flags.flying = hal.util->get_soft_armed();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tracker::ten_hz_logging_loop()
|
void Tracker::ten_hz_logging_loop()
|
||||||
|
Loading…
Reference in New Issue
Block a user