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

GPS: Report proper fix type to MSP_RAW_GPS

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2016-05-05 20:06:04 +10:00
parent bee5bfa9ce
commit a2c791a811
2 changed files with 2 additions and 2 deletions

View file

@ -842,7 +842,7 @@ static bool processOutCommand(uint8_t cmdMSP)
#ifdef GPS
case MSP_RAW_GPS:
headSerialReply(18);
serialize8(STATE(GPS_FIX));
serialize8(gpsSol.fixType);
serialize8(gpsSol.numSat);
serialize32(gpsSol.llh.lat);
serialize32(gpsSol.llh.lon);