diff --git a/src/main/io/gps.c b/src/main/io/gps.c index e8e63e500..371eadaf1 100644 --- a/src/main/io/gps.c +++ b/src/main/io/gps.c @@ -59,6 +59,7 @@ extern int16_t debug[4]; int32_t GPS_coord[2]; // LAT/LON uint8_t GPS_numSat; +uint16_t GPS_hdop = 9999; // Compute GPS quality signal uint8_t GPS_update = 0; // it's a binary toggle to distinct a GPS position update uint16_t GPS_altitude; // altitude in 0.1m @@ -752,7 +753,7 @@ static bool UBLOX_parse_gps(void) if (!next_fix) DISABLE_STATE(GPS_FIX); GPS_numSat = _buffer.solution.satellites; - // GPS_hdop = _buffer.solution.position_DOP; + GPS_hdop = _buffer.solution.position_DOP; break; case MSG_VELNED: // speed_3d = _buffer.velned.speed_3d; // cm/s