feat(color): add FILE type for widget options (#5605)

This commit is contained in:
philmoz
2024-10-18 10:47:00 +10:00
committed by GitHub
parent 3c3a2dfb03
commit 1deac60b62
15 changed files with 101 additions and 85 deletions
+7 -7
View File
@@ -72,11 +72,11 @@ static inline void check_struct()
CHKSIZE(LimitData, 13);
CHKSIZE(TimerData, 17);
CHKSIZE(ModelHeader, 131);
CHKSIZE(CustomScreenData, 1452);
CHKSIZE(CustomScreenData, 1892);
#if defined(PCBNV14)
CHKTYPE(TopBarPersistentData, 540);
CHKTYPE(TopBarPersistentData, 704);
#else
CHKTYPE(TopBarPersistentData, 804);
CHKTYPE(TopBarPersistentData, 1048);
#endif
#else
#error CHKSIZE not set up
@@ -103,13 +103,13 @@ static inline void check_struct()
#elif defined(PCBX7) || defined(PCBXLITE) || defined(PCBX9LITE)
CHKSIZE(ModelData, 6329);
#elif defined(PCBNV14)
CHKSIZE(ModelData, 21899);
CHKSIZE(ModelData, 26463);
#elif defined(PCBPL18)
CHKSIZE(ModelData, 22201);
CHKSIZE(ModelData, 26845);
#elif defined(RADIO_T15)
CHKSIZE(ModelData, 22190);
CHKSIZE(ModelData, 26834);
#elif defined(PCBHORUS)
CHKSIZE(ModelData, 22165);
CHKSIZE(ModelData, 26809);
#else
#error CHKSIZE not set up
#endif