a2006940db5c7da3914f2dcfcbb8b7fb9f31afe8
* 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.
OpenTX 2.3 Branch
The ongoing development on 2.3.x is done in this branch.
Refer to the OpenTX wiki for information about setting up the tool chains for building OpenTX and OpenTX Companion as well as other development related issues.
Useful links:
- OpenTX Main Site http://www.open-tx.org/
- OpenTx University http://open-txu.org/
- OpenTX User Manual https://www.gitbook.com/book/opentx/opentx-taranis-manual/details
- OpenTX Lua Reference Guide https://www.gitbook.com/book/opentx/opentx-lua-reference-guide/details
Languages
C
71.9%
C++
25.4%
Python
0.9%
CMake
0.6%
Shell
0.3%
Other
0.7%