1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 01:35:35 +03:00

MSP: Fix for incorrect length for MSP_GPSSTATISTICS message

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2016-04-03 22:22:29 +10:00
parent 8472a31f83
commit 0eb7139f78

View file

@ -1163,7 +1163,7 @@ static bool processOutCommand(uint8_t cmdMSP)
serialize8(gpsSol.hdop / 100);
break;
case MSP_GPSSTATISTICS:
headSerialReply(32);
headSerialReply(20);
serialize16(gpsStats.lastMessageDt);
serialize32(gpsStats.errors);
serialize32(gpsStats.timeouts);