- Allows the radio main application to start correctly when coming from an app in RAM
- Refactoring of the `UNEXPECTED_SHUTDOWN()` process
- Saves the RTC battery as BACKUP RAM is not needed on normal shutdown
- On PWR OFF on an ALERT, the radio won't show the next alert before shutting down
- Bootloader flashable through the SD Manager
* Use pwrCheck() as primary control point for shutdown, centralizes thread control in simpgmspace module;
* Remove main_thread_running in favor of separate variables for startup mode and shutdown flag;
* Don't start a thread for ARM startup, just run simuMain() directly (the thread just exits anyway);
* Refactor SIMU_SLEEP() macro, and remove all unnecessary uses of it, also remove SIMU_SLEEP_NORET;
* Add startType param to opentxStart() to control splash and startup checks;
* Fixes backlight never turning off in simulator with "SWITCH" power button type (pwrPressed() was always true);
* Fixes simu shutdown when model checklist is displayed at startup;
* Adds stubs to possibly simulate a "soft" power button in the future.
Clang complains about startP pointer pointing to a member of a packed structure, resulting on in a unaligned pointered address. The compiler will optimise the pointer out anyway
* [X7] EEPROM Variant introduced for Companion import
* [X7] Also different FourCC needed if we want to use .otx files
* Allow early version of X7 firmware Eeprom to migrate to new variant (#4246)
* Allow early version of X7 firmware Eeprom to migrate to new variant