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

baro: fixed an integer overflow issue at high altitudes

the averaging array was using 16 bit numbers, but we are storing
numbers with 19 significant bits. That caused overflow at high
altitude, and some very interesting altitude graphs!

Thanks to Michael Oborne for spotting this in a log
parent 4e9c6683
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