Skip to content

Commit fabf56d

Browse files
committed
rebase to master
1 parent 4214f9b commit fabf56d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/main/rx/crsf.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ typedef enum {
8888
CRSF_FRAMETYPE_VARIO_SENSOR = 0x07,
8989
CRSF_FRAMETYPE_BATTERY_SENSOR = 0x08,
9090
CRSF_FRAMETYPE_BAROMETER_ALTITUDE = 0x09,
91+
CRSF_FRAMETYPE_HEARTBEAT = 0x0B,
9192
CRSF_FRAMETYPE_LINK_STATISTICS = 0x14,
9293
CRSF_FRAMETYPE_RC_CHANNELS_PACKED = 0x16,
9394
CRSF_FRAMETYPE_ATTITUDE = 0x1E,

src/main/telemetry/crsf.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ static telemetrySensor_t crsfNativeTelemetrySensors[] =
373373
#ifdef USE_BARO
374374
TLM_SENSOR(ALTITUDE, 0, 100, 100, 0, Nil),
375375
#endif
376+
#if defined(USE_BARO) || defined(USE_GPS)
377+
TLM_SENSOR(VARIOMETER, 0, 100, 100, 0, Nil),
378+
#endif
376379
#ifdef USE_GPS
377380
TLM_SENSOR(GPS, 0, 100, 100, 0, Nil),
378381
#endif

0 commit comments

Comments
 (0)