Skip to content

Commit a5a0068

Browse files
ES-Alexandermeee1
authored andcommitted
ExtLibs: Utilities: Device.cs: update baro types
- Correct renamed options - Add the latest new options
1 parent a21d3e9 commit a5a0068

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ExtLibs/Utilities/Device.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,13 @@ public enum baro_types
184184
DEVTYPE_BARO_ICP101XX = 0x0F,
185185
DEVTYPE_BARO_ICP201XX = 0x10,
186186
DEVTYPE_BARO_MS5607 = 0x11,
187-
DEVTYPE_BARO_MS5837 = 0x12,
187+
DEVTYPE_BARO_MS5837_30BA = 0x12,
188188
DEVTYPE_BARO_MS5637 = 0x13,
189189
DEVTYPE_BARO_BMP390 = 0x14,
190+
DEVTYPE_BARO_BMP581 = 0x15,
191+
DEVTYPE_BARO_SPA06 = 0x16,
192+
DEVTYPE_BARO_AUAV = 0x17,
193+
DEVTYPE_BARO_MS5837_02BA = 0x18,
190194
};
191195

192196
//https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Airspeed/AP_Airspeed_Backend.h#L99
@@ -244,4 +248,4 @@ static uint32_t make_bus_id(enum BusType bus_type, uint8_t bus, uint8_t address,
244248

245249
// devid is a union of bus type, bus, address and devtype
246250
}
247-
}
251+
}

0 commit comments

Comments
 (0)