Commit f898f78f authored by pixhawk's avatar pixhawk

Fixed small compile error with module bit mask

parent d1498c0b
......@@ -177,7 +177,7 @@ void MAVLinkProtocol::receiveBytes(LinkInterface* link)
//if ()
// If a new loss was detected or we just hit one 128th packet step
if (lastLoss != totalLossCounter || (totalReceiveCounter & 0b1111111) == 0)
if (lastLoss != totalLossCounter || (totalReceiveCounter & 0x7F) == 0)
{
// Calculate new loss ratio
// Receive loss
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment