Commit Graph
104 Commits
Author SHA1 Message Date
kevinkoenigandRaphael Coeffic 751d1a0887 cleanup of all number edit display handlers. 2022-06-11 15:38:08 +02:00
Raphael CoefficandGitHub ddf011ff12 fix: Remove offset when copying timer name (#1832)
Resolves #1816
2022-04-15 18:55:29 +10:00
BatambatamandGitHub 9d27a6923c fix: Display FS switch names and symbol (#1804) 2022-04-05 21:17:28 +10:00
WilhelmandGitHub 5e6cf2e79c fix: Custom stick and switch names were being mangled internally (#1770)
* followup to PR1754

* Cleanup

* Formatting

* Long comment
2022-04-01 14:16:01 +10:00
WilhelmandGitHub c14417a325 Try to fix use of unterminated strings in mixer setup (#1317) (#1338)
* fixes the non-terminated fixed-string problem in lua-mixer-script
added some useful info to the script-line
make the popup menu to delete a script

* removed unneccessary comments

* intermediate fix

* tried to obey all comments to the code
and to eliminate further potential buffer-overflows

* fixed typo

* fixed async loading of lua scripts and update of widget
cleanup

* removed GCC pragmas (clang warn about them)
remove constexpr qualification (gcc accepts them because gcc-builtins are already constexpr, clang still warns about them)

* removed merge marker
2022-03-23 12:40:06 +01:00
Raphael CoefficandPeter Feerick 09c49e24ee Remove SKY9X target 2022-01-29 14:40:17 +10:00
d41855a316 [TX12] Fix support for additional switches (SI and SJ) (#1303)
* Fixed support for Radiomaster TX12 additional switches (SI and SJ)

Two connectors are present on TX12 main board (near top of internal TX module) and are mapped as SI and SJ, but were not read out by the firmware.
With this update they might be used for some further hacking of the radio (ex. adding additional 2-pos switches, adding detector of external module insertion etc.).

* Radiomaster TX12 - preventing selection of Si and SJ as 3POS

* Radiomaster TX12 - corrected SI and SJ switch names in Keys Debug screen

Switches were displayed in test screen as SG and SH, due to fact that firmware did not take into account no presence of SG and SH in TX12.
The update provides correct and consistent naming of the additional switches across whole radio.

* Alignment tweak + fix rot_enc info overlap

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-30 15:49:23 +10:00
3djcandRaphael Coeffic d31482c18b Introduce T-pro and function switches handling 2021-12-17 17:07:48 +01:00
3djcandRaphael Coeffic 6735a42b08 Radiomaster Zorro
Port of opentx/opentx#8791
2021-12-17 15:17:48 +01:00
Raphael Coeffic 710677a1f7 Use existing function to generate switch name in YAML switch warning field 2021-12-17 11:02:51 +01:00
Raphael Coeffic 68bdf025c1 Fixed switch position warning display on B&W 2021-11-10 11:07:01 +01:00
eshifriandGitHub 4e571c1325 Improvements to time and timer display #911 (#912)
* Fix time display #911

* move TIMEHOUR definition

* change time format

* Refactoring

* rename

* remove unncessary code

* Change hour/minute format

* pack TimerDisplayOptions structure
2021-10-25 12:36:16 +11:00
520eac3e4f Format times better for timer widget and statistics times (#896)
* Fix widget timer.
Modifie getStrString() for  using hms

* Timer over blink with COLOR_THEME_WARNING
Timer unit in uppercase

* Use lowercase unit with small timer display, use uppercase unit in large
display

* Auto formatting

Co-authored-by: Runsys16 <rene.negre@orange.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-15 21:32:24 +11:00
f970ab1e66 Fix Lua Mixer Scripts source naming (#842)
* getSourceString() return a correct string for lcdcolor when the source
es a LUA script

* getSourceString() return a formated string with instanceName or
scriptName and outputName

Co-authored-by: Runsys16 <rene.negre@orange.com>
2021-10-05 21:30:20 +11:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
eshifriandGitHub 88b8ac86fb [Colorlcd] Support model notes with spaces and prevent radio crash due to filename (#645)
* support both versions of model notes file name. Fix for #641

* Adding support for names with spaces

* Fix compilation
2021-09-02 10:45:58 +10:00
Raphael Coeffic 6d11fa8033 [lua] Fix sensor max and min matching
Resolves #442
2021-07-14 08:45:00 +02:00
Raphael Coeffic d10563d08b Fixed more zchar / string copy errors
Resolves #224
2021-06-16 18:00:42 +02:00
Raphael CoefficandRaphael Coeffic 6d490bddf0 Sensors don't use ZCHAR in 2.4
Resolves #97
2021-06-02 11:19:11 +02:00
Raphael CoefficandRaphael Coeffic 3d9b01745e Fix compiling for slider-less radios 2021-05-26 23:23:04 +02:00
Raphael CoefficandRaphael Coeffic d70ac14832 Display analog names properly
Resolves #91
2021-05-26 23:23:04 +02:00
3djc e0f02624d5 Fix sensor display icon 2021-04-09 14:49:52 +02:00
3djc 9fa07f6d36 Fix sensor display in dropdowns 2021-04-09 11:58:20 +02:00
Danieland3djc 0c2358d35a Delete REa switch from SKY9X 2020-12-10 13:40:53 +01:00
3djcandGitHub 24f93a7cbe 3djc/2.4 add 2.3 pr (#8099) 2020-11-19 16:32:50 +01:00
3djcGitHub3djc <Th1sisfmyofmyo>
87cd9047b1 2.4 continued (#8092)
Quite a bit of work on 2.4

Co-authored-by: 3djc <Th1sisfmyofmyo>
2020-11-14 14:55:37 +04:00
Bertrand Songis 42a3198568 Merge with latest 2.3 2020-10-07 21:01:45 +02:00
Bertrand Songis 41bb035ce5 Compilation fix 2020-10-03 11:42:23 +02:00
3djcandGitHub cd1716b941 Handle large timers (#7962)
This fixes #7607
2020-09-25 12:55:18 +02:00
Bertrand Songis bddccb9765 Merge with latest 2.3 2020-05-30 11:57:03 +02:00
Bertrand Songis 4c484017a4 Merge from 2.3 2019-12-05 09:29:11 +01:00
Bertrand Songis 86b186fafd Warning removed 2019-11-15 14:03:14 +01:00
Bertrand Songis 33329c501c Cosmetics 2019-11-15 12:30:40 +01:00
Bertrand Songis e2f84b8047 Cosmetics 2019-10-19 13:03:08 +02:00
3djc af4bb51255 Gvars screen tidy up 2019-10-09 13:00:44 +02:00
Bertrand Songis f5c60a86a9 Cosmetics 2019-10-05 14:28:50 +02:00
Bertrand Songis 9e83c5d10f Merge against latest 2.3 2019-09-17 13:28:42 +02:00
Bertrand Songis a5d62805c3 Companion import / export issue for switches from X9D+ 2019 2019-08-29 17:11:53 +02:00
Bertrand Songis 284a9d1f5e Compilation fixes 2019-08-29 09:34:27 +02:00
Bertrand Songis f4f8893ae9 New UI merged 2019-08-28 20:50:14 +02:00
Bertrand Songis 530deae84f Cosmetics 2019-08-12 12:28:14 +02:00
3djc c5900bc351 compilation fixes 2019-08-10 12:08:54 +02:00
3djc 4fd5091657 Make switch logging using hardware config 2019-08-10 12:00:38 +02:00
Bertrand SongisandGitHub c13a09f707 Activity switch added (#6571) 2019-07-15 22:27:55 +02:00
Bertrand SongisandGitHub 6516029fd1 Cosmetics (#6512)
Cosmetics
2019-06-17 16:09:09 +02:00
Bertrand Songis 1f1ccf277c Cosmetics 2019-06-17 11:59:33 +02:00
WismyYaoandBertrand Songis 196da35c6e Wismy/bt name fix (#6511)
Change bluetooth name to lowercase
2019-06-17 11:58:13 +02:00
Bertrand SongisandGitHub aff6c3fd1d PXX synchro using Hearbeat (#6482)
* [PXX] Latency using heartbeat sync optimized for X7 (stable @ 12ms)
* [PXX] Latency using heartbeat sync optimized for XLite Pro (stable @ 9ms)
2019-06-08 10:44:31 +02:00
3djcandAndre Bernet cd3c4ac654 Add Jumper t12 support by 3djc (#6451)
* Jumper T12 - companion part

* more work

* Add definitions

* fix libsimulator key handling

* Fix simu keys handling

* Cosmetics

* Continued

* Fix wrong regplace

* Fix wrong regplace

* Please travis

* Please travis

* Add T12 to Travis
Switch naming and display

* Cosmetics

* Work on modules

* Work on modules

* typo

* Fix navigation

* Cosmetics

* Introduce NAVIGATION_type

* Fix

* Make NAVIGATION_type more future proof

* Lots of cleanups and improvements

* Cosmetics

* Fix internal module menu

* Cosmetics

* Fix screen reversed

* Small fixes

* Fix navigation issue

* Please travis

* Fix LCD contrast

* Fix T12 switch layout

* Fix T12 keys screen and all radios keys translations

* Complete rework of SWITCHES screen for all radios

* comsetics

* VC++ compilation
2019-05-26 19:51:17 +02:00
Bertrand SongisandGitHub 08de1a75e0 3djc/x7 additional switches (#6422)
X7, add two additional switches
2019-05-13 22:59:45 +02:00