Skip to content
Snippets Groups Projects
Commit 071f89df authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

AHRS: fixed error_yaw reporting with 2 MAVLink connections

when a user first connects with USB, and later switches to the
telemetry port without restarting we were getting zero for error_yaw
in the logs, as AHRS.get_error_yaw() was being called twice.

This ensures we give the last value after the counter is reset
parent 20941c15
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment