mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Spektrum telemetry minor fix to address false Fastboot alerts on radios with latest update (#13383)
Extended description of STRU_TELE_RPM, and changed fill values from 0xFF's to 0x00 to account for new fastbootUptime variable
This commit is contained in:
parent
0daed9f7dc
commit
92d5460b92
1 changed files with 3 additions and 1 deletions
|
@ -166,11 +166,13 @@ typedef struct
|
||||||
INT8 dBm_A, // Average signal for A antenna in dBm
|
INT8 dBm_A, // Average signal for A antenna in dBm
|
||||||
INT8 dBm_B; // Average signal for B antenna in dBm.
|
INT8 dBm_B; // Average signal for B antenna in dBm.
|
||||||
// If only 1 antenna, set B = A
|
// 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;
|
} STRU_TELE_RPM;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define STRU_TELE_RPM_EMPTY_FIELDS_COUNT 8
|
#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_RPM_UNUSED 0xffff
|
||||||
#define SPEKTRUM_TEMP_UNUSED 0x7fff
|
#define SPEKTRUM_TEMP_UNUSED 0x7fff
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue