Skip to content

Commit

Permalink
renamed AUTO to DYNAMIC
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyBlitWorks committed Jan 19, 2020
1 parent c19dc26 commit 924058c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/cli/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ static const char * const lookupTableGPSSBASMode[] = {
};

static const char * const lookupTableGPSUBLOXMode[] = {
"AIRBORNE", "PEDESTRIAN", "AUTO"
"AIRBORNE", "PEDESTRIAN", "DYNAMIC"
};
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/main/io/gps.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ void gpsUpdate(timeUs_t currentTimeUs)
sensorsClear(SENSOR_GPS);
gpsSetState(GPS_LOST_COMMUNICATION);
} else {
if ((gpsData.messageState == GPS_MESSAGE_STATE_INITIALIZED) && STATE(GPS_FIX) && (gpsConfig()->gps_ublox_mode == UBLOX_AUTO)) {
if ((gpsData.messageState == GPS_MESSAGE_STATE_INITIALIZED) && STATE(GPS_FIX) && (gpsConfig()->gps_ublox_mode == UBLOX_DYNAMIC)) {
gpsData.messageState = GPS_MESSAGE_STATE_PEDESTRIAN_TO_AIRBORNE;
gpsData.state_position = 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/io/gps.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ typedef enum {
typedef enum {
UBLOX_AIRBORNE = 0,
UBLOX_PEDESTRIAN,
UBLOX_AUTO
UBLOX_DYNAMIC
} ubloxMode_e;

typedef enum {
Expand Down

0 comments on commit 924058c

Please sign in to comment.