I was getting const errors with a recent gcc. So I removed the const modifer
to Widget::update in the 480x272 GUI. This caused menu_settings.cpp
menuSettings() to complain, because it was being passed a param called
'object' of type pointer to a const T, and then called object->update(),
which is not a const function.
However, the one call site I found to menuSettings() (menu_settings.cpp:224)
is passing currentWidget, which is of type Widget*.
* Fix for X9. Right now, it is working, but maybe could be improved later by moving to right aligned
* X7 work
* X7 and X9 working
* Another fix for processTelemetryData
* Working ONE, need to check ALL for pertinence of drawShortTrimMode
* Show more data on screen ALL for X7
* Make trim display for FM0 X7 only
* Cosmetics
After looking at the Taranis GUI code, I decided to emulate what that
does, which is just skip over the X coord line in the menu if when
curve type is custom and points is <= 2.
* Multi: add Q303 protocol and variants (CX10D/CX10WD)
* Fix subType selection on 128x64 UIs
* Fix options display on other radios for custom photo as well
* Optimise display on 128x64
* Name if present are displayed (like now), but when the row is selected, the name moves on top and the display alternates between FM and other info
* Compile fix
* Re #4224: Introduced settingsPath and use std::string for paths in simpgmspace.
* Re #4224: Relevant parts of simpgmspace.cpp moved into simufatfs.cpp and simudisk.cpp
* Removed "/" from "mask_monitor_logsw.png"
* Re #4224: findTrueFileName() refactoring
* Faster gtests (less waiting for eeprom operations to finish)
* Re #4224: Radio settings and models directories now taken from alternate path (if set) [simu]
* Fixes#3322: together with previous changes to the SD browser this prevents the simulator from browsing higher than SD card root path.
* f_chdir() debug traces
* fix curve selection display on X7
* Fix undue telemety type row being show on telem screen
* Fix undue telemety type row being show on telem screen (reverted from commit f3d082f44fa70020d0787d7e7d3d5b494ef062b7)
* Allow autoswitch for LS AND
* Add POPUPMENU base edit/clear/copy/paste to LS screen
* Add long menu to OUTPUTS screen
* Compil fix
* Compil fix
* Translations for outputs POPMENU 128x64
* X7 limits where wrong : for exemple, if you not set a compare value bigger than 15 in a logicial switch.
This fix it and also takes into account some radio settings (like extended limits)
* Take II
* Cosmetics
* Cosmetics
* Cosmetics (reverted from commit 2282c2633b6986ed999f898ef9611f236477ff7c)
* some #ifdef nightmare cleanup
* Flash savings: getFileExtension() de-templated, saves 160 bytes
* Flash savings: several variables moved to rodata, RGB macro optimization (speed and can now be used to initialize rodata)
Result for Horus:
text data bss dec
1261182 808603 42020 2111805 before
1267149 803335 42124 2112608 after (data size also counts .sram section)
5kB saved in .data section (RAM and FLASH)
* Removed compiler warnings
* RGB() and ARGB() gtests added
* ARGB() optimized