renamed AUTO to DYNAMIC
This commit is contained in:
parent
c19dc26055
commit
924058c371
|
@ -195,7 +195,7 @@ static const char * const lookupTableGPSSBASMode[] = {
|
|||
};
|
||||
|
||||
static const char * const lookupTableGPSUBLOXMode[] = {
|
||||
"AIRBORNE", "PEDESTRIAN", "AUTO"
|
||||
"AIRBORNE", "PEDESTRIAN", "DYNAMIC"
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ typedef enum {
|
|||
typedef enum {
|
||||
UBLOX_AIRBORNE = 0,
|
||||
UBLOX_PEDESTRIAN,
|
||||
UBLOX_AUTO
|
||||
UBLOX_DYNAMIC
|
||||
} ubloxMode_e;
|
||||
|
||||
typedef enum {
|
||||
|
|
Loading…
Reference in New Issue