Skip to content

Commit

Permalink
Spektrum telemetry minor fix to address false Fastboot alerts on radi…
Browse files Browse the repository at this point in the history
…os with latest update (betaflight#13383)

Extended description of STRU_TELE_RPM, and changed fill values from 0xFF's to 0x00 to account for new fastbootUptime variable
  • Loading branch information
SpektrumRC authored Feb 22, 2024
1 parent 0daed9f commit 92d5460
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/telemetry/srxl.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,13 @@ typedef struct
INT8 dBm_A, // Average signal for A antenna in dBm
INT8 dBm_B; // Average signal for B antenna in dBm.
// If only 1 antenna, set B = A
UINT16 spare[2];
UINT16 fastbootUptime; // bit 15 = fastboot flag. Bits 0-14= uptime in seconds. 0x0000 --> no data
} STRU_TELE_RPM;
*/

#define STRU_TELE_RPM_EMPTY_FIELDS_COUNT 8
#define STRU_TELE_RPM_EMPTY_FIELDS_VALUE 0xff
#define STRU_TELE_RPM_EMPTY_FIELDS_VALUE 0x00

#define SPEKTRUM_RPM_UNUSED 0xffff
#define SPEKTRUM_TEMP_UNUSED 0x7fff
Expand Down

0 comments on commit 92d5460

Please sign in to comment.