feat: add support for ExpressLRS optional arming method (#5641)

Co-authored-by: elecpower <elecpower@users.noreply.github.com>
This commit is contained in:
Michael
2024-11-22 21:32:40 +10:00
committed by GitHub
co-authored by elecpower
parent ebb5d39a14
commit 8fd3d50add
69 changed files with 654 additions and 38 deletions
+6 -2
View File
@@ -535,9 +535,13 @@ PACK(struct ModuleData {
uint8_t telemetryBaudrate:3;
uint8_t spare1:4 SKIP;
} ghost);
NOBACKUP(struct {
NOBACKUP(PACK(struct {
uint8_t telemetryBaudrate:3;
} crsf);
uint8_t crsfArmingMode:1;
uint8_t spare2:4 SKIP;
int16_t crsfArmingTrigger:10 CUST(r_swtchSrc,w_swtchSrc);
int16_t spare3:6;
}) crsf);
NOBACKUP(struct {
uint8_t flags;
} dsmp);