InfiniTimeOrg / InfiniTime

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

Almost working morse area. #1392

Closed programmin1 closed 1 year ago

programmin1 commented 2 years ago

Morse text in a screen... except it does not compile, error: too many initializers for ‘std::__array_traits

I do not know why Infinitime is limited on apps in this array in ApplicationList.h??

minacode commented 2 years ago

You also need to insert

{nullptr, Apps::None}

elements for each empty slot on the new app menu screen. Otherwise the firmware will crash when you tap on those slots.

Edit: I learned you don't have to do this. It should work fine without.

Edit after looking at your code: Why did you use two labels in your UI? Is it necessary?