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
+4 -4
View File
@@ -117,7 +117,7 @@ static inline void check_struct()
CHKSIZE(TrainerData, 16);
#if defined(PCBXLITES)
CHKSIZE(RadioData, 873);
CHKSIZE(RadioData, 872);
CHKSIZE(ModelData, 6265);
#elif defined(PCBXLITE)
CHKSIZE(RadioData, 870);
@@ -150,14 +150,14 @@ static inline void check_struct()
CHKSIZE(ModelData, 6706);
#elif defined(PCBHORUS)
#if defined(PCBX10)
CHKSIZE(RadioData, 837);
CHKSIZE(RadioData, 836);
CHKSIZE(ModelData, 15607);
#else
CHKSIZE(RadioData, 837);
CHKSIZE(RadioData, 836);
CHKSIZE(ModelData, 15607);
#endif
#elif defined(PCBNV14)
CHKSIZE(RadioData, 837);
CHKSIZE(RadioData, 836);
CHKSIZE(ModelData, 15463);
#endif