renamed AUTO to DYNAMIC

This commit is contained in:
Tony Cabello 2020-01-19 15:45:46 +01:00
parent c19dc26055
commit 924058c371
3 changed files with 3 additions and 3 deletions

View File

@ -195,7 +195,7 @@ static const char * const lookupTableGPSSBASMode[] = {
};
static const char * const lookupTableGPSUBLOXMode[] = {
"AIRBORNE", "PEDESTRIAN", "AUTO"
"AIRBORNE", "PEDESTRIAN", "DYNAMIC"
};
#endif

View File

@ -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;
}

View File

@ -51,7 +51,7 @@ typedef enum {
typedef enum {
UBLOX_AIRBORNE = 0,
UBLOX_PEDESTRIAN,
UBLOX_AUTO
UBLOX_DYNAMIC
} ubloxMode_e;
typedef enum {