Skip to content

Commit

Permalink
USE_GPS_UBLOX requires USE_GPS
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Dec 23, 2023
1 parent 3adf919 commit fb74f3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/msp/msp.c
Original file line number Diff line number Diff line change
Expand Up @@ -4052,7 +4052,7 @@ static mspResult_e mspProcessInCommand(mspDescriptor_t srcDesc, int16_t cmdMSP,
break;
#endif

#if defined(USE_GPS) && defined(USE_GPS_UBLOX)
#ifdef USE_GPS_UBLOX
case MSP2_UBLOX_REQUEST_SV_INFO:
gpsRequestSatInfo();
break;
Expand Down
2 changes: 1 addition & 1 deletion src/main/pg/gps.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include "gps.h"

PG_REGISTER_WITH_RESET_TEMPLATE(gpsConfig_t, gpsConfig, PG_GPS_CONFIG, 3);
PG_REGISTER_WITH_RESET_TEMPLATE(gpsConfig_t, gpsConfig, PG_GPS_CONFIG, 4);

PG_RESET_TEMPLATE(gpsConfig_t, gpsConfig,
.provider = GPS_UBLOX,
Expand Down

0 comments on commit fb74f3c

Please sign in to comment.