Browse Source
This is really just calculating the hamming weight of the GNSS_MODE bitmask, but I don't know if the APM compiler could handle the GCC intrinsic that could calculate it faster, and this is done so rarely there isn't a significant penalty to using the for loop.master
Michael du Breuil
10 years ago
committed by
Andrew Tridgell
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue