fix: Radio YAML not being read or written correctly (#4426)

This commit is contained in:
philmoz
2023-12-18 19:28:03 +10:00
committed by GitHub
parent 3ac9ae7e8c
commit 9b9e831a5e
13 changed files with 16 additions and 29 deletions
+1 -3
View File
@@ -883,7 +883,7 @@ PACK(struct RadioData {
NOBACKUP(int8_t beepLength:3 CUST(r_5pos,w_5pos));
NOBACKUP(int8_t hapticStrength:3 CUST(r_5pos,w_5pos));
NOBACKUP(uint8_t gpsFormat:1);
NOBACKUP(uint8_t __spare2:1 SKIP);
NOBACKUP(uint8_t audioMuteEnable:1);
NOBACKUP(uint8_t speakerPitch CUST(r_spPitch,w_spPitch));
NOBACKUP(int8_t speakerVolume CUST(r_vol,w_vol));
NOBACKUP(int8_t vBatMin CUST(r_vbat_min,w_vbat_min));
@@ -945,8 +945,6 @@ PACK(struct RadioData {
NOBACKUP(uint8_t stickDeadZoneSpare:3 SKIP);
#endif
NOBACKUP(uint8_t audioMuteEnable:1);
#if defined(IMU)
NOBACKUP(int8_t imuMax);
NOBACKUP(int8_t imuOffset);