Commit Graph
406 Commits
Author SHA1 Message Date
4e49ac68be feat(colorlcd): Special Function to set main screen (#2160)
* Special Function to set main screen (#2135)

* chore: Add new SF to LUA constants list

* Companion support

* Formatting

* get rid of magic number

* Add function to get the number of custom screens

* Change screen numbering from 0-based to 1-based.

* Allow SetScreen custom function for Color LCD only

* add range protection

* cleanup

* yet, range protection once again

* fix: paintSpecialFunctionLine can't alter SF param data

* Fix screen initialization in companion

* move screen switching to the UI

* Trigger view change from guiMain()

* chore: Change "SET" to "Set" for consistency

* fix: Somehow missed extra comma in `TW`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-09-07 21:40:34 +10:00
c8693569b0 feat(color): New label based Model Selector (#1374)
* Model Labels Selector

* Portrait Layout

* Receiver ID Check

* Fix Labels .yml format

* Companion Initial Commit

commit 967ddf3979b4954402fe62c858faba4b7a416bba
Author: dlktdr <cblackburn320@gmail.com>
Date:   Mon Aug 29 01:49:15 2022 -0700

    Fix Labels .yml format

commit 534221cad9e01146c47a9ac1080a655e04f1f6c8
Author: dlktdr <cblackburn320@gmail.com>
Date:   Mon Aug 29 01:20:57 2022 -0700

    Receiver ID Check

commit f32c0939d44e9ae60bc0705a9176354c23fec198
Author: dlktdr <cblackburn320@gmail.com>
Date:   Sun Aug 28 23:13:25 2022 -0700

    Portrait Layout

commit 961181217c7841ff3f21299ac6aa419b810f80e9
Author: dlktdr <cblackburn320@gmail.com>
Date:   Sat Dec 11 16:56:13 2021 -0800

    Model Labels Selector

commit dc99dd40d2
Author: David PHAM-VAN <1387855+DavBfr@users.noreply.github.com>
Date:   Fri Aug 26 03:04:34 2022 -0300

    feat: Allow Lua widget to override built-in widget with same name (#2208)

    * Allow CPP Widgets Override with LUA

    * Reset a widget option it the type differs

commit 4b747caff9
Author: eshifri <46511024+eshifri@users.noreply.github.com>
Date:   Thu Aug 25 19:47:53 2022 -0700

    fix: Write model name into models.yml when duplicating model (#2224)

    * Update model name in the models.yml file (#2214)

    * Fix the length of the name.

commit e97f23a305
Author: eshifri <46511024+eshifri@users.noreply.github.com>
Date:   Wed Aug 24 21:19:52 2022 -0700

    fix(cpn): Fix full path to model notes for Simulator (#2223)

* Correct Highlighted Column

* labels .yml indentation

* Update da.h

New defines translated to Danish

* Update dataconstants.h

Omit warnings due to difference of LEN_MODEL_FILENAME and LEN_MODEL_NAME in modellist.cpp

* Update modelslist.cpp

Wonder if this are the right file in PR #1374 (?), seems a lot are changed to the better in #1374

* Update dataconstants.h

Restore #define for LEN_MODEL_FILENAME to 16

* Rebase, Correct Issues

Delete now deletes instead of select
New model stores correct information
Duplicate save all information in cell
Rework items to use cell over button
Reword function variables

* CMPN: Add context menu

Fix output not functional. Removed Yaml::null at some point :)
Fix some compiler warnings

* CMPN: Compiler warning, replace ,->_ in list

* FW: Various Changes

Change view to a grid
Don't allow comma in label name
Add scroll indicators
Save sort order

Co-authored-by: HThuren <99370924+HThuren@users.noreply.github.com>
2022-09-03 09:01:19 +10:00
Raphael CoefficandRaphael Coeffic ee0c37157d Remove legacy fonts and make the bootloader compile with LVGL 2022-06-11 15:38:08 +02:00
Peter FeerickandGitHub c327c6c0db fix: TPro FS showing in global funcs and MPM protocol list updates (#1705)
* Init contrast earlier for 128 B&W screens
https://github.com/opentx/opentx/pull/8882

* fix: TPro - No FS in global functions
https://github.com/opentx/opentx/pull/8845

* Missing IS_SWITCH_FS defintions

* Update MPM fallback SUBTYPE and OPT strings

* Custom MPM proto should not be processed
2022-03-21 20:57:04 +10:00
Raphael Coeffic b5779f2a6a More generic serial port config 2022-03-20 16:30:58 +01:00
Raphael CoefficandPeter Feerick 09c49e24ee Remove SKY9X target 2022-01-29 14:40:17 +10:00
d1ef6f866c [tpro] fix function switch behaviours and add always on capability (#1479)
* fix: tpro function switch toggle mode

* feat: Function switches now have alway on option

* Companion support for function switch always on

* Fix nasty eeprom error

* Update fs startup item model

* Fix Tpro SWITCH_EXISTS

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-01-23 18:42:31 +10:00
Raphael Coeffic a4c718f6b7 YAML: remove useless constants 2021-12-18 15:25:52 +01:00
3djcandRaphael Coeffic d31482c18b Introduce T-pro and function switches handling 2021-12-17 17:07:48 +01:00
jfrickmannandPeter Feerick 5efd910edc Changed the max. trim values to the suggested 2021-12-07 18:32:09 +10:00
Raphael Coeffic 3da2aee1ff Sensor type & formula 2021-11-10 11:07:02 +01:00
Raphael Coeffic 69c017091a More stringified values 2021-11-10 11:07:01 +01:00
Raphael Coeffic f8ab3770e4 Updated generated yaml parser structs 2021-11-10 11:07:00 +01:00
Raphael Coeffic 82fec817f1 yaml_ use EEPROM_VER = 221 2021-11-10 11:06:59 +01:00
Raphael Coeffic 5a367a5221 Bin to Yaml conversions 2021-11-10 11:06:59 +01: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
Peter Feerick 5c787f62c7 Don't offset min and max - breaks mixer output 2021-09-14 21:31:52 +10:00
Raphael Coeffic ff0abf11a5 Call GV_IS_GV_VALUE() without offset applied
Resolves #722
2021-09-14 10:38:24 +02:00
eshifriandGitHub f85ab455ed Outputs - enable using GV for Subtrim, Min, Max values (#687)
* Model Outputs - GV for Subtrim, Min, Max values #683

* fix scaling

* fix limits

* invalidate limits

* formatting

* defines added
2021-09-13 09:13:50 +10:00
Raphael CoefficandRaphael Coeffic 90bd1b6329 Unify throttle source check/conversion code 2021-07-14 13:54:12 +02:00
RistoandGitHub 129866488d Voice timer countdown fix (#362)
* Fix mapping of 2 bit signed countdownStart value to seconds

value -2 - 5 seconds
value -1 - 10 seconds
value 0 - 20 seconds
value 1 - 30 seconds
2021-06-28 09:03:12 +02:00
Raphael CoefficandRaphael Coeffic fc12c869be WiP: Binary storage format conversion
Storage format version is now 220.
2021-06-05 20:29:09 +02:00
Bertrand Songis 42a3198568 Merge with latest 2.3 2020-10-07 21:01:45 +02:00
DanielGeAandGitHub 035cc6c031 Brightness adjust from backlight function (#7680)
Adjust brightness from backlight function
2020-07-31 17:06:11 +02:00
3djcandGitHub 2fb3d977a9 Trainer UI (#7423)
Trainer UI
2020-03-06 15:47:34 +01:00
Bertrand Songis 071116afeb Merge with latest 2.3 2019-11-07 15:04:45 +01:00
Bertrand Songis 3f0ce109ad Fixes #7027 2019-11-07 13:39:38 +01:00
Bertrand Songis e2f84b8047 Cosmetics 2019-10-19 13:03:08 +02:00
Bertrand Songis 3e2cb83991 Now uses the external libopenui 2019-10-02 14:41:52 +02:00
Bertrand Songis 9e83c5d10f Merge against latest 2.3 2019-09-17 13:28:42 +02:00
Bertrand Songis 2bc42d9ecb 128 bytes RAM saved 2019-09-13 08:21:35 +02:00
Bertrand Songis f4f8893ae9 New UI merged 2019-08-28 20:50:14 +02:00
Bertrand SongisandGitHub 9e52de7a49 Merge the enums TelemetryProtocol and TelemetryProtocols (#6676) 2019-08-28 11:39:06 +02:00
Bertrand Songis 42ec5afd06 Cosmetics 2019-08-24 15:58:50 +02:00
3djc 4998191910 Fix X9E switches ((some cannot be configured or read) 2019-06-18 16:58:06 +02:00
Bertrand SongisandGitHub 0ec02f096c Default switchs / pots / sliders configuration moved to the HAL (#6514)
Default switchs / pots / sliders configuration moved to the HAL
2019-06-18 15:47:38 +02:00
Bertrand Songis c9581630ff Rename serial2 to aux_serial 2019-06-04 16:57:35 +02:00
Bertrand SongisandGitHub 4d07faa8e0 Bsongis/accst support over pxx2 (#6455)
ACCST support over PXX2
2019-05-27 17:23:17 +02:00
Bertrand SongisandGitHub a177c7788c ACCST on ACCESS (#6430)
ACCST on ACCESS
2019-05-18 23:15:46 +02:00
Bertrand SongisandGitHub 794fe32006 X10 extra switches sticks (#6423)
[X10] 2 extra sticks switches + 2 extra pots
2019-05-17 20:42:41 +02:00
Bertrand Songis 2f67e75720 Cosmetics 2019-05-15 09:13:16 +02:00
Bertrand Songis e77b096463 Renaming PXX / ACCESS modules constants 2019-05-10 23:06:48 +02:00
Kilrah 4a2a196607 VC++ compilation continued 2019-05-04 12:06:56 +02:00
Bertrand Songis d70f3a40ef Spectrum analyser fixes
Compatibily issue when telemetry comes from int + ext modules
2019-04-29 11:52:17 +02:00
3djcandBertrand Songis f7f1b1ff7b 3djc/test (#7)
More modules support
2019-03-14 17:51:59 +01:00
Bertrand Songis 68df083394 PXX2 pxx2SetRxParams started 2019-03-07 16:48:43 +01:00
3djc d80dc67bbd R9M and R9M2 2019-02-19 13:15:54 +01:00
Bertrand Songis 4736ff0300 RAM saving 2019-02-09 12:12:36 +01:00
Bertrand Songis 62c7a1978e RAM saving 2019-02-09 11:33:43 +01:00
Bertrand Songis 7b58cc2e69 Fixes for X7 2019-02-08 09:00:02 +01:00