Commit Graph
48 Commits
Author SHA1 Message Date
3969b2b7e3 feat: Remove TR# mixsrc when trainer disabled (#2323)
* feat: Remove TR# mixsrc when trainer disabled
When trainer mode is not enabled, there is no point
showing the TR# mixer sources. Once you enable a
trainer option, they will become visible again.

* fix: Add missing "Input" check for B&W radios

* fix(cpn): Trainer mode default is off

* chore(cpn): If trainer mode off, hide TR/PPM srcs

* (cpn) Refresh all source lists on change of trainer mode

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-09-25 19:51:35 +10:00
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
elecpowerandPeter Feerick 8aa2b55c50 fix(cpn): Improve module and protocol conversion (#2237) 2022-09-01 20:56:59 +10:00
Neil HorneandGitHub c8e9ca0a32 fix: Companion trainer modes OFF and Master-Multi available for all radios (#1806)
* Allow trainer modes OFF and Master-Multi for all radios

* Change Trainer mode Off to the standard OFF

* fix: German for Trainer OFF, Master and Slave
2022-04-05 20:16:19 +10:00
Peter FeerickandGitHub cc609a6a3b feat: Major serial driver re-write - see #1089 for details
Serial refactor
2022-03-21 19:58:26 +10:00
ab15a5a514 chore: Companion - port of OpenTX function switches management (#1694)
* TPro - Port of OpenTX function switches management (https://github.com/opentx/opentx/pull/8847)

* cleanup

* Corrections

* Fix YAML generation and adjusted switches to match TPRO firmware

Co-authored-by: Batam <batam@macbook-pro.home>
2022-03-21 10:43:27 +10:00
Raphael Coeffic e37a8bff7d Added YAML serialPort
TODO:
- restrict serial modes for VCP
- allow a function to be assigned only to one port
2022-03-20 16:30:59 +01: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
elecpowerandRaphael Coeffic f5b398b32c Add function switches to model print and compare 2021-12-17 17:08:49 +01:00
elecpowerandRaphael Coeffic 9a07b83b00 Use item models for ui lists 2021-12-17 17:08:49 +01:00
3djcandRaphael Coeffic d31482c18b Introduce T-pro and function switches handling 2021-12-17 17:07:48 +01:00
elecpowerandPeter Feerick fb5d8a30d3 Add trainer mode OFF for NV14 2021-11-04 11:29:08 +10:00
elecpowerandPeter Feerick a62545a674 Merge pull request #8545 from opentx/opentx/fix-8541-trainer 2021-10-14 20:34:53 +11:00
Neil HorneandGitHub adf514fe16 Fix companion model edit image names (#848)
* Fix companion model edit bitmap image names

* Add radio conversion of file extension
2021-10-05 20:33:35 +11:00
Neil HorneandGitHub a9812688b0 Companion 2.5 (#555)
* Introduce yaml in Companion

* EdgeTX Companion
Replace some OpenTX refs
Data conversion to v220
Update Timers ui to cater for mode field split

* Fix some simulators crashing when started from Companion

* Disable firmware and app update checking and downloads from companion

* Some more rebranding

* Disable manual download actions and another rebrand

* Fix cmake warning

* Fix mode ON conversion gtests and enable switch in model edit

* Stop update message when updates turned off

* OpenTX #8580 Fixes missing negative sign for telemetry sources

* OpenTX #8604 fix curves tooltip colors

* OpenTX #8616 Fix release notes url references

* OpenTX #8548 Align file sync folder references

* OpenTX #8548 Link field once

* OpenTX #8550 Confirmation prompt before write models and settings to radio

* OpenTX #8550 Translate strings

* Title and splash images

* Change DEB package maintainer

* Start NV14

* NV14 continued

* NV14 sim

* Timer countdownStart data conversion and ui fixes

* Fix screen width

* Merge OpenTX PR 8675

* NV14 sim add computer keys and mouse to activate some functions

* Only allow supported protocols for each module on conversion

* Clear mismatched modules on conversion

* Replace colorlcd theme and layout blobs with detailed data structs in companion

* NV14 has 2 topbar zones

* Fix layout init

* Fix layout init again

* Reset to eepromimportexport.h to main branch

* Import/export does not like enum fields

* Model edit add custom screens tab for color and bw telemetry

* Free memory
2021-09-08 10:56:39 +10:00
elecpower 43655faee2 Check AND switch before clearing LS 2021-04-06 06:34:11 +10:00
elecpower 066b4eb7d7 For inputs and mixes when updating refs set 'new' FMs to safer option of inactive 2021-04-06 06:00:24 +10:00
elecpower b6ec55769c Fix upd ref type so clears refs equal to the one selected for deletion 2021-04-06 06:00:24 +10:00
elecpower 2537cc878a Keep pre-existing inactive logical switches 2021-04-06 05:52:01 +10:00
Bertrand SongisandGitHub e3b6840bb8 Merge pull request #8397 from opentx/elecpower/cpn-timerdata-refactor
Timers refactoring and model setup code enhancements
2021-04-05 10:41:32 +02:00
elecpower 9372ff67c3 Cosmetics 2021-03-28 08:40:49 +11:00
elecpower 9fd4d28738 Move limitdata array manipulation from ui to model 2021-03-28 08:13:22 +11:00
elecpower 1747f9aa17 Remove debug line 2021-03-19 06:34:10 +11:00
elecpower 4e62d0b1b7 Fix model upd refs custom function reset timer 2021-03-19 06:17:35 +11:00
elecpower 110e1a5fc7 Move getElementName to helpers and move timerdata to own files 2021-03-13 07:38:47 +11:00
elecpower d10b16d4c6 Dynamic ui data models continued 2020-12-20 14:25:25 +11:00
elecpower d6dcc6ccc4 Use firmware capability for reset tele upd refs 2020-11-08 06:57:02 +11:00
elecpower 9901a4a0db Add missing update refs for reset telemetry sensor 2020-11-08 06:50:43 +11:00
elecpower 5767e9a7c1 Do not apply offset when clearing model references 2020-10-02 07:17:36 +10:00
Neil HorneandGitHub 6fa0382608 Fix channel reorder affect on mixes (#7911) 2020-09-06 10:59:37 +02:00
Neil HorneandGitHub 5a500cc055 Companion enhanced telemetry sensors context menu and other refinements across context menus (#7716)
Companion enhanced telemetry sensors context menu with reference updates
2020-09-04 18:36:58 +02:00
DanielGeAandGitHub 035cc6c031 Brightness adjust from backlight function (#7680)
Adjust brightness from backlight function
2020-07-31 17:06:11 +02:00
Neil HorneandGitHub 6264e8524e Add timer name to source lists and remove unused code (#7838) 2020-07-31 16:23:29 +02:00
DanielGeAandGitHub 5d4f6679e5 Remove Avr boards (#7713)
Remove AVR
2020-06-22 16:52:52 +02:00
Bertrand SongisandGitHub 31d734d14a Companion failsafe fix (#7705)
Companion failsafe fix
2020-06-08 10:46:16 +02:00
Neil HorneandGitHub 40f9b05ce2 Companion update model references from enhanced context menus (#7325)
Companion update model references from enhanced context menus
2020-05-15 15:25:50 +02:00
3djcandBertrand Songis e91a464352 Default modules to OFF for new models (#6687)
Default modules to OFF for new models
2019-09-02 12:09:56 +02:00
Bertrand Songis d2f3e421af [X10 Express] Compilation support added 2019-08-27 09:14:26 +02:00
Bertrand Songis 41682a2a3e Fixes #6582 2019-07-22 13:51:42 +02:00
Bertrand Songis 48fbdbb7a9 ACCESS support started in Companion 2019-06-04 18:14:09 +02:00
Neil HorneandBertrand Songis b4175eade3 Companion enhancements for checklist editor, model print and compare (2 3 branch) (#6434)
* Model print and compare include GFs enhancement

* Model print and compare include checklist contents

* Add missing brackets and code tidy up

* Print message if cannot open or read checklist file

* Missing GV label translation
Move some checklist code to helpers

* Refactor to use helpers and add cursor position

* Move improved version of removeAccents to helpers and apply to checklist

* Force fixed width font for edit window
2019-05-20 18:56:23 +02:00
Bertrand Songis f32e9625c2 X3 EEPROM / simulator support added 2019-05-10 00:08:46 +02:00
Max Paperno 681bc82185 [Companion] Move CHECK_IN_ARRAY() to macros.h; Change DIM() return type; Refactor/fix removeAccents() to handle uppercase. 2018-09-19 06:47:36 -04:00
Bertrand Songis 2c47883cc2 Companion GCC8 warnings removed 2018-08-05 19:33:28 +02:00
Max PapernoandBertrand Songis 487c0de90f [Companion][InputsPanel] Fix "ghost" input names being left over when moving items (closes #5740); Cut/paste and drag-move will now also copy the input name if destination input is nameless and source input becomes empty (will not duplicate names); Clean up/simplify some code. (#5942) 2018-06-03 23:16:20 +02:00
Bertrand SongisandGitHub 806715e166 Bsongis/companion r9m fixes (#5914)
* Cosmetics

* First part ...

* First part ...

* Second part ...

* End?

* Handle new  R9M and R9M lite

* Display 'mini' module in case of R9M and xlite
2018-06-02 18:16:51 +02:00
Max PapernoandBertrand Songis a951292f27 [Companion] Radio data translation/strings (#5554)
* [Companion] Add Qt tr() functions to all radio data classes instead of using generic QObject type.  (no functional changes)

* Small fix for gcc.

* Move more element name string generation to individual classes; settle on nameToString as function name.

* Also put firmware build options translations into Firmware scope.
2017-12-21 18:26:11 +01:00
Max PapernoandBertrand Songis 59a835b1b3 [Companion] Radio data refactoring (#5551)
* [Companion] Refactor radio data classes to own files, out of eeprominterface.cpp.  No functional changes.

* Move files related to refactoring. No functional or code changes.

* Fix clang warning and an include path.

* Fix indents on curvereference.cpp. [ci skip]
2017-12-20 13:31:43 +01:00