Commit Graph
86 Commits
Author SHA1 Message Date
3djc dacc537e8b Allow exit from power/spektrum while receiver is streaming 2019-04-02 17:02:15 +02:00
3djc 5fd70d7c8c Add external modules handling for power and spektrum 2019-04-02 13:55:07 +02:00
Bertrand Songis eb2b82bf92 Fixes 2019-03-31 15:17:11 +02:00
3djc 98c3dd9acc Power meter is either 2.4GHz or 900Mhz 2019-03-31 12:38:59 +02:00
3djc 6500864897 Fix 2019-03-31 12:26:20 +02:00
3djc 63383f15c1 Add safety and context to spektrum and power meter 2019-03-31 12:24:07 +02:00
Bertrand Songis db316af98d PXX2 refactoring + Popups refactoring 2019-03-26 13:11:32 +01:00
Bertrand Songis 0c99545b27 Progress screen refactoring 2019-03-25 17:27:57 +01:00
Bertrand Songis ed1d312f20 Many fixes 2019-03-22 12:00:01 +01:00
Bertrand Songis 07840007de Compilation fixes 2019-03-21 20:03:25 +01:00
Bertrand Songis 2d3f268b09 Common code merged 2019-03-21 15:53:09 +01:00
Bertrand Songis d4b14f614c Popups can now have an handler. It could perhaps avoid another EEPROM format @3djc ? 2019-03-21 15:44:16 +01:00
Bertrand Songis 4de9e3f73b NAVIGATION_MENUS definition removed 2019-03-21 15:21:16 +01:00
Bertrand Songis 04ba9e5c68 Compilation fixes 2019-03-20 16:32:58 +01:00
Bertrand Songis 6277717c16 Powermeter fixes 2019-03-20 09:53:14 +01:00
Bertrand Songis 45500b062d Fixes 2019-03-20 09:18:15 +01:00
Bertrand Songis 933f323a00 Fixes 2019-03-20 08:59:29 +01:00
Bertrand Songis 775ac40aaa Powermeter added 2019-03-20 08:46:47 +01:00
Bertrand Songis 9b54d9be48 [X3] SD Manager fix 2019-03-15 19:50:33 +01:00
Bertrand Songis aee6daf0d0 Cosmetics 2019-03-09 11:23:16 +01:00
Bertrand Songis 2c454e8156 Cosmetics 2019-03-07 15:00:54 +01:00
Bertrand Songis 111b209a75 POPUP title 2019-03-07 13:45:15 +01:00
Bertrand Songis a4434bc5f3 Fixes. Flash an external module should work 2019-02-21 16:57:23 +01:00
Bertrand Songis e4fa31be28 Rename char2idx to char2zchar 2019-02-21 10:35:48 +01:00
Bertrand Songis 655966fba2 Flash internal module 2019-02-20 14:59:38 +01:00
Bertrand Songis eb453293f5 Fix register in Model Setup 2019-02-20 12:10:46 +01:00
Bertrand Songis fdaed515fc X3 UI fixes 2019-02-18 18:40:21 +01:00
Bertrand Songis c7404998f9 BIND menu added (still not tested) 2019-02-06 14:12:54 +01:00
Bertrand Songis aaa4206a1c BIND placeholder added to reuseable buffer 2019-02-06 10:43:20 +01:00
Max Paperno a2006940db [simu] Refactor simu startup and shutdown handling (for 2.3 branch):
* 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.
2018-09-08 22:04:37 -04:00
Bertrand Songis 49aac252d7 Remaining Phase instead of Flightmode 2018-08-05 13:35:52 +02:00
Bertrand Songis ea76998beb More AVR removal 2018-08-05 12:39:05 +02:00
Bertrand Songis f3bfde242b RTOS refactoring + more AVR removal 2018-08-05 12:06:48 +02:00
Bertrand Songis d2697345e1 VIRTUAL_INPUTS #define removed 2018-07-11 18:54:05 +02:00
Bertrand SongisandGitHub a8707baf57 Merge pull request #6034 from opentx/navigation_files_splitted
Navigation methods splitted to avoid a lot of #ifdef
2018-07-11 16:39:02 +02:00
Bertrand Songis 5eff34ce8a Navigation methods splitted to avoid a lot of #ifdef 2018-07-11 15:17:14 +02:00
Bertrand Songis db1d3fcb32 Remaining CPUARM removed 2018-07-11 13:33:51 +02:00
Arne Schwabe c80f0da4ac Remove various references of AVR from script and referenced files 2018-07-05 12:05:55 +02:00
Arne Schwabe c75d873b91 Remove CASE_CPUARM and IF_CPUARM macros 2018-07-05 12:05:55 +02:00
3djc dd632969f3 Massive clean thanks to Schwabe : unifdef -m -DCPUARM -UCPUM64 -UCPUM2560 -UPCBSTD -UPCBMEGA2560 -UPCBGRUVIN9X -UPCB9X $(find . -name "*.cpp" -or -name "*.h") 2018-07-05 08:04:55 +02:00
Kilrah 091bf2fdf0 Hide hidden files 2018-06-17 22:07:33 +02:00
3djcandBertrand Songis 13c5387dc9 Disable pulse while model notes are displayed (#5758)
* Implement model note view without menu handler. Use it before pulse starts

* Also at model change. Handle wd reset and start pulses after mixer

* Fix Horus compile

* Fix Horus crash

* Fix coding style issue
2018-06-09 11:34:56 +02:00
Bertrand SongisandGitHub db276cecbf S.PORT flash on all available interfaces (possibly 3) 2018-05-10 08:22:39 +02:00
Bertrand SongisandGitHub 99604dccc9 XLite support (#5806) 2018-04-25 23:07:04 +02:00
Max PapernoandBertrand Songis b69f36afe4 [Radio] Adjust value limits for mix sources and update UI for LSs, CFs & telem. (#5445)
* [firmware][ARM] Adjust some value limits for mix sources and update editing UI for LSs, CFs, & telem. bars:
    * Increase timer limits to +/-8:59:59 when used with LSs, CFs, & bars;
    * Increase Lua script output limits to +/-30K;
    * Trim limits based on extended limit model setting;
    * Limit TX voltage to 25.5;
    * Limit TX time comparison value to 29:59m;
    * Use proper GVar limits (user-configured), display precision, & unit in LSs & telem. bars;
    * Display timer values properly with hours (instead of mmm:ss).

* [firmware] getTimerString() would fail with times >= 100min if hours weren't shown.

* Fix builds w/out GVars.
2017-12-19 12:17:12 +01:00
Bertrand SongisandGitHub e5b2b8ef64 Bsongis/issue 5311 (#5354)
Fixes #5311
2017-11-13 22:17:13 +01:00
3djcandBertrand Songis aa527fc6bd GPS datetime display fixes (#5254)
* Fix x9

* Fix x7

* Apparently - is standard separator for dates

* Consistency
2017-10-03 07:45:40 +02:00
3djcandBertrand Songis b7b7c48d8e x7/x9 GPS datetime fix (#5051)
* Fix x7 display in telemetry widget (only time is displayed)

* rename drawDate to a more specific name, since it is not generic
fix for x9

* Travis build fix

* Introduce time FONTSIZE_MASK macro

* Cosmetics based on Bertrand's last feedbacks
2017-06-28 20:28:57 +02:00
3djcandBertrand Songis 656daa75fa Fix SDcard size and format issue (#5004)
* - fix overflow in SDcard size computation
- fix format function
- implement more informative format error handling

* Move to a function
2017-06-14 23:33:31 +02:00
Arne SchwabeandBertrand Songis d609d37798 Ignore UNIX dotfiles (#4973)
* Ignore UNIX dotfiles

This has the advantage of hiding all the stupid .DS_STORE and ._foo.lua attributes files from Mac OS X

* Do not ignore ..
2017-06-02 16:37:35 +02:00