mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
add new gps type
This commit is contained in:
parent
77d455f82b
commit
1990c6a67e
2 changed files with 3 additions and 1 deletions
|
@ -46,6 +46,7 @@ typedef enum {
|
||||||
SENSOR_MAG = 1 << 3,
|
SENSOR_MAG = 1 << 3,
|
||||||
SENSOR_SONAR = 1 << 4,
|
SENSOR_SONAR = 1 << 4,
|
||||||
SENSOR_GPS = 1 << 5,
|
SENSOR_GPS = 1 << 5,
|
||||||
|
SENSOR_GPSMAG = 1 << 6,
|
||||||
} AvailableSensors;
|
} AvailableSensors;
|
||||||
|
|
||||||
// Type of accelerometer used/detected
|
// Type of accelerometer used/detected
|
||||||
|
@ -88,6 +89,7 @@ typedef enum {
|
||||||
GPS_UBLOX,
|
GPS_UBLOX,
|
||||||
GPS_MTK_NMEA,
|
GPS_MTK_NMEA,
|
||||||
GPS_MTK_BINARY,
|
GPS_MTK_BINARY,
|
||||||
|
GPS_MAG_BINARY,
|
||||||
} GPSHardware;
|
} GPSHardware;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
|
@ -52,7 +52,7 @@ static const char * const featureNames[] = {
|
||||||
|
|
||||||
// sync this with AvailableSensors enum from board.h
|
// sync this with AvailableSensors enum from board.h
|
||||||
static const char * const sensorNames[] = {
|
static const char * const sensorNames[] = {
|
||||||
"GYRO", "ACC", "BARO", "MAG", "SONAR", "GPS", NULL
|
"GYRO", "ACC", "BARO", "MAG", "SONAR", "GPS", "GPS+MAG", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char * const accNames[] = {
|
static const char * const accNames[] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue