Refactored the lost packets calculations for MAVLink. Current version was not as clear as it could be.
Refactored the lost packets calculations for MAVLink.
Current version was not as clear as it could be.

mihadyuk/qgroundcontrol,RedoXyde/PX4_qGCS,nado1688/qgroundcontrol,mihadyuk/qgroundcontrol,remspoor/qgroundcontrol,caoxiongkun/qgroundcontrol,josephlewis42/UDenverQGC2,remspoor/qgroundcontrol,cfelipesouza/qgroundcontrol,BMP-TECH/qgroundcontrol,dagoodma/qgroundcontrol,devbharat/qgroundcontrol,scott-eddy/qgroundcontrol,hejunbok/qgroundcontrol,hejunbok/qgroundcontrol,UAVenture/qgroundcontrol,lis-epfl/qgroundcontrol,josephlewis42/UDenverQGC2,fizzaly/qgroundcontrol,RedoXyde/PX4_qGCS,Hunter522/qgroundcontrol,greenoaktree/qgroundcontrol,TheIronBorn/qgroundcontrol,ethz-asl/qgc_asl,mihadyuk/qgroundcontrol,kd0aij/qgroundcontrol,fizzaly/qgroundcontrol,jy723/qgroundcontrol,nado1688/qgroundcontrol,iidioter/qgroundcontrol,CornerOfSkyline/qgroundcontrol,UAVenture/qgroundcontrol,ethz-asl/qgc_asl,cfelipesouza/qgroundcontrol,remspoor/qgroundcontrol,remspoor/qgroundcontrol,josephlewis42/UDenverQGC2,UAVenture/qgroundcontrol,BMP-TECH/qgroundcontrol,UAVenture/qgroundcontrol,greenoaktree/qgroundcontrol,Hunter522/qgroundcontrol,catch-twenty-two/qgroundcontrol,UAVenture/qgroundcontrol,BMP-TECH/qgroundcontrol,lis-epfl/qgroundcontrol,lis-epfl/qgroundcontrol,dagoodma/qgroundcontrol,dagoodma/qgroundcontrol,hejunbok/qgroundcontrol,CornerOfSkyline/qgroundcontrol,devbharat/qgroundcontrol,LIKAIMO/qgroundcontrol,LIKAIMO/qgroundcontrol,devbharat/qgroundcontrol,mihadyuk/qgroundcontrol,fizzaly/qgroundcontrol,caoxiongkun/qgroundcontrol,TheIronBorn/qgroundcontrol,LIKAIMO/qgroundcontrol,iidioter/qgroundcontrol,TheIronBorn/qgroundcontrol,jy723/qgroundcontrol,hejunbok/qgroundcontrol,TheIronBorn/qgroundcontrol,fizzaly/qgroundcontrol,greenoaktree/qgroundcontrol,ethz-asl/qgc_asl,greenoaktree/qgroundcontrol,Hunter522/qgroundcontrol,RedoXyde/PX4_qGCS,iidioter/qgroundcontrol,cfelipesouza/qgroundcontrol,ethz-asl/qgc_asl,iidioter/qgroundcontrol,cfelipesouza/qgroundcontrol,BMP-TECH/qgroundcontrol,Hunter522/qgroundcontrol,TheIronBorn/qgroundcontrol,remspoor/qgroundcontrol,kd0aij/qgroundcontrol,kd0aij/qgroundcontrol,kd0aij/qgroundcontrol,RedoXyde/PX4_qGCS,LIKAIMO/qgroundcontrol,cfelipesouza/qgroundcontrol,hejunbok/qgroundcontrol,CornerOfSkyline/qgroundcontrol,jy723/qgroundcontrol,josephlewis42/UDenverQGC2,hejunbok/qgroundcontrol,TheIronBorn/qgroundcontrol,dagoodma/qgroundcontrol,cfelipesouza/qgroundcontrol,LIKAIMO/qgroundcontrol,caoxiongkun/qgroundcontrol,scott-eddy/qgroundcontrol,BMP-TECH/qgroundcontrol,catch-twenty-two/qgroundcontrol,catch-twenty-two/qgroundcontrol,devbharat/qgroundcontrol,caoxiongkun/qgroundcontrol,Hunter522/qgroundcontrol,scott-eddy/qgroundcontrol,Hunter522/qgroundcontrol,BMP-TECH/qgroundcontrol,lis-epfl/qgroundcontrol,jy723/qgroundcontrol,caoxiongkun/qgroundcontrol,caoxiongkun/qgroundcontrol,kd0aij/qgroundcontrol,devbharat/qgroundcontrol,mihadyuk/qgroundcontrol,greenoaktree/qgroundcontrol,dagoodma/qgroundcontrol,scott-eddy/qgroundcontrol,devbharat/qgroundcontrol,RedoXyde/PX4_qGCS,jy723/qgroundcontrol,kd0aij/qgroundcontrol,CornerOfSkyline/qgroundcontrol,CornerOfSkyline/qgroundcontrol,nado1688/qgroundcontrol,scott-eddy/qgroundcontrol,nado1688/qgroundcontrol,greenoaktree/qgroundcontrol,remspoor/qgroundcontrol,jy723/qgroundcontrol,LIKAIMO/qgroundcontrol,UAVenture/qgroundcontrol,nado1688/qgroundcontrol,dagoodma/qgroundcontrol,fizzaly/qgroundcontrol,RedoXyde/PX4_qGCS,lis-epfl/qgroundcontrol,nado1688/qgroundcontrol,iidioter/qgroundcontrol,catch-twenty-two/qgroundcontrol,scott-eddy/qgroundcontrol,mihadyuk/qgroundcontrol,iidioter/qgroundcontrol,ethz-asl/qgc_asl,fizzaly/qgroundcontrol,catch-twenty-two/qgroundcontrol,catch-twenty-two/qgroundcontrol,CornerOfSkyline/qgroundcontrol