Crossfire: add barometer altitude sensor

This commit is contained in:
Raphael Coeffic
2022-05-07 19:25:17 +10:00
committed by Peter Feerick
parent 60fbe5eddb
commit 7806d5f892
2 changed files with 20 additions and 0 deletions
+2
View File
@@ -34,6 +34,7 @@
#define GPS_ID 0x02
#define CF_VARIO_ID 0x07
#define BATTERY_ID 0x08
#define BARO_ALT_ID 0x09
#define LINK_ID 0x14
#define CHANNELS_ID 0x16
#define LINK_RX_ID 0x1C
@@ -89,6 +90,7 @@ enum CrossfireSensorIndexes {
ATTITUDE_YAW_INDEX,
FLIGHT_MODE_INDEX,
VERTICAL_SPEED_INDEX,
BARO_ALTITUDE_INDEX,
UNKNOWN_INDEX,
};