mavlink/qgroundcontrol — pull request #715 by Susurrus (2014-06-15 21:15:41+00:00)
Title: Refactor MAVLink packet loss calculations

Was reading through it and it wasn't very clear, so I refactored it a bit and added comments.
Also replaced an expensive modulus operation with a super-fast bitwise-and.