feat(color): Increase max possible widget screens to 10 (#3073)

* Elevate telemetry screen count from 5 to 10 on color radios.

* Cpn increase max custom screens

* fix(color): Missing Add tab button on max-1
addTab was not called when adding screens dynamically

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
Risto
2023-03-16 17:13:11 +10:00
committed by GitHub
co-authored by elecpower Peter Feerick
parent e3d8158d50
commit 312a2358dc
12 changed files with 39 additions and 9 deletions
+3 -3
View File
@@ -140,14 +140,14 @@ static inline void check_struct()
#elif defined(PCBHORUS)
#if defined(PCBX10)
CHKSIZE(RadioData, 924);
CHKSIZE(ModelData, 11128);
CHKSIZE(ModelData, 15378);
#else
CHKSIZE(RadioData, 906);
CHKSIZE(ModelData, 11126);
CHKSIZE(ModelData, 15376);
#endif
#elif defined(PCBNV14)
CHKSIZE(RadioData, 852);
CHKSIZE(ModelData, 10942);
CHKSIZE(ModelData, 15192);
#endif
#undef CHKSIZE