diff --git a/src/board.h b/src/board.h index b3604eb406..47bc77d770 100755 --- a/src/board.h +++ b/src/board.h @@ -46,6 +46,7 @@ typedef enum { SENSOR_MAG = 1 << 3, SENSOR_SONAR = 1 << 4, SENSOR_GPS = 1 << 5, + SENSOR_GPSMAG = 1 << 6, } AvailableSensors; // Type of accelerometer used/detected @@ -88,6 +89,7 @@ typedef enum { GPS_UBLOX, GPS_MTK_NMEA, GPS_MTK_BINARY, + GPS_MAG_BINARY, } GPSHardware; typedef enum { diff --git a/src/cli.c b/src/cli.c index 0d38a190d1..683bb2a2c6 100644 --- a/src/cli.c +++ b/src/cli.c @@ -52,7 +52,7 @@ static const char * const featureNames[] = { // sync this with AvailableSensors enum from board.h 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[] = {