mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 17:55:28 +03:00
GPS: Report proper fix type to MSP_RAW_GPS
This commit is contained in:
parent
bee5bfa9ce
commit
a2c791a811
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ typedef struct gpsSolutionData_s {
|
|||
unsigned validEPE : 1; // EPH/EPV values are valid - actual accuracy
|
||||
} flags;
|
||||
|
||||
uint8_t fixType;
|
||||
gpsFixType_e fixType;
|
||||
uint8_t numSat;
|
||||
|
||||
gpsLocation_t llh;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue