mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: let AHRS update orientation in its own time
This commit is contained in:
parent
cfff881013
commit
ac4d8404bb
@ -269,9 +269,6 @@ void Sub::one_hz_loop()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!motors.armed()) {
|
if (!motors.armed()) {
|
||||||
// make it possible to change ahrs orientation at runtime during initial config
|
|
||||||
ahrs.update_orientation();
|
|
||||||
|
|
||||||
motors.update_throttle_range();
|
motors.update_throttle_range();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user