mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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
|
// 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());
|
||||||
}
|
}
|
||||||
|
|
||||||
// called at 50hz
|
// called at 50hz
|
||||||
|
Loading…
Reference in New Issue
Block a user