feat: Flysky PA01 support (#6392)

Co-authored-by: Malte Langermann <malte@langermann.net>
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: xlong <984929678@qq.com>
Co-authored-by: Peter Feerick <pfeerick@users.noreply.github.com>
This commit is contained in:
richardclli
2025-08-17 20:13:43 +10:00
committed by GitHub
co-authored by Malte Langermann philmoz 3djc raphaelcoeffic xlong Peter Feerick
parent 89e57df285
commit e89a4414ac
45 changed files with 5067 additions and 17 deletions
+5 -3
View File
@@ -75,6 +75,8 @@ static inline void check_struct()
CHKSIZE(CustomScreenData, 1972);
#if defined(PCBNV14) || defined(RADIO_NB4P) || defined(RADIO_NV14_FAMILY)
CHKTYPE(TopBarPersistentData, 736);
#elif defined(PCBPA01)
CHKTYPE(TopBarPersistentData, 916);
#elif defined(RADIO_H7RS)
// TODO
#else
@@ -86,14 +88,12 @@ static inline void check_struct()
#if defined(PCBXLITES)
CHKSIZE(RadioData, 945);
#elif defined(RADIO_ST16)
#elif defined(RADIO_ST16) || defined(PCBPA01)
CHKSIZE(RadioData, 1159);
#elif defined(COLORLCD)
CHKSIZE(RadioData, 1039);
#elif defined(RADIO_GX12)
CHKSIZE(RadioData, 1063);
#elif defined(RADIO_GX12)
CHKSIZE(RadioData, 1062);
#else
CHKSIZE(RadioData, 943);
#endif
@@ -122,6 +122,8 @@ static inline void check_struct()
CHKSIZE(ModelData, 27295);
#elif defined(PCBST16)
CHKSIZE(ModelData, 27761);
#elif defined(PCBPA01)
CHKSIZE(ModelData, 27522);
#elif defined(RADIO_T15)
CHKSIZE(ModelData, 27683);
#elif defined(RADIO_H7RS)