Commit Graph
3839 Commits
Author SHA1 Message Date
Peter Feerick 0a8fd28cff fix: Timer start value not saved when changed
Resolves #1821
2022-04-15 18:47:24 +10:00
Peter Feerick 25b2e140d3 fix: Create TEMPLATES & PERS_TEMPL dirs if missing 2022-04-15 17:31:10 +10:00
Jesper FrickmannandGitHub c8c134d52d fix: colorlcd - Resolve focus issue when launching lua when creating new model (#1825) 2022-04-14 10:05:42 +10:00
d9b51f8ecf feat: Deadzone option for NV14 sticks (#1777)
Imported from open-flysky/Flysky-OpenTX-Test-Branch

* companion: Don't nuke `stickDeadZone` setting

* Implement data storage properly

* Add missing check for NV14 storage struct sizes

* Formatting

* Use one less byte in the packed data struct
Thanks @raphaelcoeffic :)

* Move setting of stickDeadZone default

* Use a Choice combo rather than NumberEdit

* Good riddance magic number

* Also set default stick zone if setting is missing

* Teach tests about `STICK_DEAD_ZONE`

* Tweak choice width

* Cpn NV14 add stick dead zone to hardware and section labels

* Cpn NV14 align default pot names to radio

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-04-06 10:30:20 +10:00
BatambatamandGitHub 9d27a6923c fix: Display FS switch names and symbol (#1804) 2022-04-05 21:17:28 +10:00
Peter FeerickandGitHub b6dd2fe6bd colorlcd: Left align input names on Model Inputs tab (#1775) 2022-04-05 18:29:31 +10:00
Peter FeerickandGitHub ee5226bb61 fix: Use setAvailableHandler to filter blMode menu (#1798) 2022-04-05 18:19:59 +10:00
eshifriandGitHub fe8cd4244b fix: Reduce chance of input view jumping to first line after deleting input (#1753)
Is not a complete fix as noted in the PR comments as focus isn't actually changed, but an incremental improvement for now.
2022-04-05 15:10:23 +10:00
Peter Feerick c495606f75 fix: Close f_open handle if background image found 2022-04-04 09:11:10 +10:00
RistoandGitHub c9594390e2 feat: Show module info for MPM and CRSF on Radio Version screen (#1771)
* Show module info for MPM and CRSF

* Consider MPM only if MULTIMODULE is defined

* Consider MPM only if MULTIMODULE is defined
2022-04-01 10:52:08 +10:00
Peter FeerickandGitHub 7b617c1b50 fix: LUA=N compile fixes, radio hardware tab bottom padding (for touch) (#1755)
* Fix `LUA=N` compile breakage and tidyup on NV14

* Alignment and padding
Resolves #1751 but incomplete solution,
as the real cuplrit appears to somehow
be in `InternalModuleWindow`
2022-03-31 11:52:17 +10:00
ed7be53565 feat: Function Switch led startup sequence (#1746)
* TPro - Fancy led startup seq

* Cleanup

* fix define for function switches

* added shutdown sequence @pfeerick

* Formatting

Co-authored-by: Batam <batam@macbook-pro.home>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-03-31 11:50:46 +10:00
Risto b3108841ff Show MPM and CRSF Info
Should fix #1760
2022-03-30 09:42:07 +02:00
5cdff72205 feat: Jump to channel monitor from any model page. (#1748)
* Jump from mixes/outputs to channel monitor

* remove unnecessary headers

* Add Button names to translations

* jump from any model page to channel monitor

* Use TELEM short press instead of long press.

* Support TXs with pure touch interface

* Change to KEY_MODEL, whitespace cleanup, git eol

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-03-30 12:08:16 +10:00
TheIsotopesandGitHub 78dc2930d0 fix: German language about screen cosmetics / translation (#1737)
* about screen german translation fix

* about screen 128x64 cosmetic
2022-03-27 18:32:19 +10:00
Raphael CoefficandRaphael Coeffic 7922afd9ca Implemented proper logic for number of channels (incl. start channel) 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 9e40aaa215 Stdlcd UI for Lemon-Rx DSMP 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 9d5cd1876c Added support for Lemon-Rx DSMP 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 86d1ca4364 Reorganize module type/subType/rfProtocol 2022-03-24 10:40:17 +01: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 Coeffic 921854d13c fix: bottom of hardware menu on stdlcd 2022-03-22 14:58:39 +01:00
Raphael Coeffic f4cfcf2d3f fix: restart internal module when baudrate is changed 2022-03-22 11:33:16 +01:00
Peter Feerick 8da54326cb fix: Faster topbar widget refresh (10hz, was 2hz)
Fixes #1096
2022-03-22 20:16:49 +10:00
Peter Feerick 08ffcc726a fix: Only remove topbar widget zone if GPS active
Fixes #1718
2022-03-22 19:44:25 +10:00
Peter FeerickandGitHub b54ad7169a feat: Option for inverting rotary encoder direction (#1690)
* feat: Add option for rotary encoder direction
Based heavily on opentx/opentx#8852 by @3djc

* companion ui elements

* Cleanup

* Hook up UI, reading setting from yaml

* Teach simulator about rotEncDirection

* Simu and radio default scroll direction correction
Otherwise the "default" would be the opposite to how it has always been

* Remove what will be a confict with fix in #1586

* Wasn't using rotEncDirection consistently

* Zorro RE dir is opp to TX16, TX12, TPro, X9D+2019
2022-03-22 16:14:57 +10:00
Peter FeerickandGitHub 33f761c17b feat: Configurable external CRSF baud rates (see #1581)
CRSF modules baudrate
2022-03-22 16:06:57 +10: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
Peter FeerickandRaphael Coeffic 70f71c8ec8 Remove compiler warning 2022-03-21 11:48:51 +01:00
Peter FeerickandRaphael Coeffic 19b1db7275 Use existing getStringAtIndex as considers length 2022-03-21 11:48:51 +01:00
3djcandRaphael Coeffic 21f776d40c Fixes 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic f426dd1254 Fixes 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic 77b00cd230 typo... 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic f090c599df Add a reminder of internal CRSF speed in model setup 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic 7ec58d06d6 remove warning 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic ab09d0a25f Introduce serial status 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic 0cc2b95b09 Cosmetics 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic c0e6f2a7f9 Compilation fixes 2022-03-21 11:48:49 +01:00
3djcandRaphael Coeffic 6f158663a9 Fixes 2022-03-21 11:45:15 +01:00
3djcandRaphael Coeffic 001144cd5c Ghost module handling 2022-03-21 11:45:15 +01:00
3djcandRaphael Coeffic 97d3c68efc Cosmetics 2022-03-21 11:45:15 +01:00
3djcandRaphael Coeffic db3547d45c POC 2022-03-21 11:43:48 +01:00
Peter Feerick 8aaa78ecbe Only show GPS topbar icon if UART_MODE_GPS active 2022-03-21 13:17:51 +10:00
Raphael Coeffic 4ee41afe5a Disable telemetry input, SBUS trainer and GPS on VCP
This would require an additional rx buffer to support getByte() properly.
2022-03-20 16:30:59 +01:00
Raphael Coeffic ce93ffbe9e Generic serial port config for stdlcd 2022-03-20 16:30:59 +01:00
Raphael Coeffic 1caa0d753c Restrict available UART modes to the feature enabled 2022-03-20 16:30:59 +01:00
Raphael Coeffic 6b9c4fe165 Split UART_MODE_NONE and UART_MODE_DEBUG 2022-03-20 16:30:59 +01:00
Raphael Coeffic e5bb901b1e Fix SBUS trainer defines 2022-03-20 16:30:59 +01:00
Raphael Coeffic de43d7e77c Try to fix the trainer mode mess 2022-03-20 16:30:59 +01:00
Raphael Coeffic 34e9cbb245 Fix AUX serial setting taranis 2022-03-20 16:30:59 +01:00
Raphael Coeffic 074a141d81 UI improvements 2022-03-20 16:30:58 +01:00