1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

Struct size checks adjusted for PCBSKY9X

This commit is contained in:
Damjan Adamic 2016-11-16 21:31:40 +01:00
parent 295f7f3a9f
commit b95eaa147f

View file

@ -1104,7 +1104,7 @@ static inline void check_struct()
#elif defined(PCBSKY9X)
CHKSIZE(MixData, 20);
CHKSIZE(ExpoData, 17);
CHKSIZE(LimitData, 13);
CHKSIZE(LimitData, 11);
CHKSIZE(CustomFunctionData, 9);
CHKSIZE(FlightModeData, 38);
CHKSIZE(TimerData, 11);
@ -1115,7 +1115,7 @@ static inline void check_struct()
CHKSIZE(ModelHeader, 12);
CHKTYPE(CurveData, 4);
CHKSIZE(RadioData, 727);
CHKSIZE(ModelData, 5252);
CHKSIZE(ModelData, 5188);
#else
// Common for all variants
CHKSIZE(LimitData, 5);