InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.68k stars 916 forks source link

Tile/List: Code improvements #1547

Closed Riksu9000 closed 1 year ago

Riksu9000 commented 1 year ago

Auto deduce number of screens in ApplicationList and Settings(list). Replace #define with static constexpr. Reduce magic numbers

github-actions[bot] commented 1 year ago
Build size and comparison to develop: Section Size Difference
text 414676B 32B
data 940B 0B
bss 53568B 0B
Riksu9000 commented 1 year ago

Not perfectly happy with this code, so I'll close this for now.