Commit Graph
72 Commits
Author SHA1 Message Date
eshifriandGitHub 8e8e78671a feat: Timer Voice & Haptic option, show elapsed speak time value when countdown (#2711)
* fix "odd" elapsed time announcement

* announce elapsed seconds

* Add support for "Beeps and Haptic" and "Voice and Haptic" for timer countdown.
2023-01-23 20:00:12 +10:00
eshifriandGitHub d6185d924d fix: Display of signed values (#83)
* Fix display of the signed values
 with PREC1 and PREC2

* Use abs() for decimal digits output
 for negative numbers
2023-01-18 11:48:47 +10:00
eshifriandGitHub 346ac3ce51 fix(color): Precision for V2 in TIMER LS (#2969) 2023-01-01 13:58:39 +10:00
eshifriandGitHub 7e503e823e fix(color): 6POS on main view not always redrawn when changed (#2947) 2023-01-01 11:22:58 +10:00
eshifriandGitHub 458dc049e5 fix(color): Source selection for curve display (#2894) 2022-12-21 21:50:53 +10:00
1fe9de6d79 feat(color): Display current stick position on CurveEdit screen (#2580)
* Display current stick position on the CurveEdit screen

* auto source selection

* Display current stick position on the CurveEdit screen

* auto source selection

* unlock source when entering directly
 from model menu.

* Whitespace

* Git EoF newline

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-12-06 20:04:47 +10:00
eshifriandGitHub a267520236 fix(color): Initialise theme variables to nullptr before first use (#2787) 2022-11-25 10:09:16 +10:00
eshifriandGitHub 940f955bbc fix(color): Refresh color picker labels when chg between HSV and RGB (#2774) 2022-11-22 20:14:48 +10:00
eshifriandGitHub 8d16d17875 fix(color): Use correct default for Outputs PPM Center popup keyboard (#2759) 2022-11-18 13:24:22 +10:00
eshifriandGitHub 8caca6b129 fix(color): 6POS display on the main and calib. screens (#2684)
* Fix 6POS switch display on the main and calibration screens

* remove unnecessary TRACE()
2022-11-06 15:56:38 +10:00
eshifriandGitHub d372cfa010 fix(color): Disable invalid PG_UP and PG_DN handling on widget setup screen (#2630) 2022-10-26 11:53:03 +10:00
eshifriandGitHub b86fbca8b1 fix(color): Re-add "save as template" to model select (#2628) 2022-10-26 11:43:20 +10:00
eshifriandGitHub 80b6e10a95 fix(color): Sliders and pot warning not working (#2494) 2022-10-09 11:19:47 +10:00
eshifriandGitHub cc113c663c fix(cpn): Crash when "Set Main Screen" GF used and no model exists (#2439) 2022-10-02 15:11:49 +10:00
eshifriandGitHub c19f7eafd4 fix(color): Unable to paste after Copy/Move of a mixer line (#2423) 2022-09-30 20:14:30 +10:00
eshifriandGitHub eff7bfaeea fix(color): Add extra line in telemetry screen for vertical LCD (#2422)
TODO: Is a temporary fix only until telemetry screen is reworked
2022-09-30 12:28:18 +10:00
eshifriandGitHub 53c91ce8a0 fix(color): Restore "go to channel monitor" Button (#2390)
* Restore go to channel monitor go_to_monitor_Button

* Remove unnecessary parameter.
2022-09-30 12:26:07 +10:00
7e540594fa fix: Re-add Switch and Curve long press functionality (#2332)
* Restore go to edit curve on lobg press from inputs tab.

* Restore long press functionaliy for switches SA_UP -> !SA_UP

* chore: Auto-formatting and bump libopenui

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-09-20 19:45:29 +10:00
eshifriandGitHub 7682db2fb2 fix: ChoiceEx long press support re-added LVGL style (#65) 2022-09-20 13:29:55 +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
eshifriandGitHub 5f4def2f91 fix: Changing label order for only two labels could trigger EM (#2273)
* Fix definition for signed value

* Support changing order of the labels for two labels

* Swap labels when there is only two due to std::rotate limitation

* Change the order with swap.

* Map rebuid added
2022-09-07 18:29:59 +10:00
eshifriandGitHub 4b747caff9 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.
2022-08-26 12:47:53 +10:00
eshifriandGitHub e97f23a305 fix(cpn): Fix full path to model notes for Simulator (#2223) 2022-08-25 14:19:52 +10:00
be7a6a51ab feat: Allow the timer count direction to be selected (#2038)
* timer direction: ellapsed or left

* Add AUDIO announcement support

* Storage for showElapsed

* Translations

* Fix storage

* BW implementation

* Different BW implementation

* Companion support

* Color LCD implementation and rebase to lvgl

* Fix problems found by raphaelcoeffic

* chore: Regenerate the YAML files properly

* fix: Remove unused `TR_SHOW` remnant

* chore: Formatting and cleanup

* fix: Timer dir choice was shown in wrong place
Wrong newline used in ce23b50

* Fix cpn ui triggers, remove unnecessary code and some formatting

* fix(colorlcd): Hide timer dir opt if zero value

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-08-03 09:22:42 +10:00
eshifriandGitHub 755365abfd feat(timer): Long timer announces minutes only when gt 10 minutes (#1891)
* Long timer announce minutes only
* fix: Typo and minor formatting
* fix: Handle negative long timer also + minor formatting
2022-07-15 12:58:16 +10:00
78e921853e fix(lvgl): Text viewer functionality restored (#2070)
* view text functionality restored

* Cleanup

* chore: Automatic code formatting

* Fix Windows line break problem

* Cleaner version

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-07-14 19:02:30 +10:00
eshifriandGitHub 162880b291 Fix data type for Windows compilation (#2029) 2022-06-12 00:04:34 +02:00
eshifriandGitHub 5196c2a916 feat (colorlcd): Move input name together with input row content (#1940) 2022-05-08 15:58:51 +10:00
eshifriandGitHub 87021209b3 fix(colorlcd): EM crash when clearing Model Category name (#1897) (#1925)
* Merge branch 'main' into eshifri/preserve_current_rebase

* Initialize category name to zero. Without it KEY_ENTER adds garbage.
2022-05-04 18:15:24 +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
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
eshifriandGitHub 3efbd6f886 feat: Add "Assign bitmap" to file browser menu to assign model image (#1669) 2022-03-08 10:24:31 +10:00
eshifriandGitHub c5c142d38d feat: Add NV14 vertical speed sensor derived from CAT01 altitude measurements (#1485)
* Add vertical speed sensor

* fix negative speed problem

* Add averaging time definition
2022-03-06 13:21:03 +10:00
d1a5c7a819 fix: EM trigger / input focux loss in when editing outputs (#1657)
* handle events on the outputs screen (#1652)

* change background color instead of font color

* Auto formatting only (except for include order)

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-03-06 11:15:58 +10:00
eshifriandGitHub f44a8b6a17 feat: Support opening large log files on colorlcd (#1625)
* Remove limit for the TXT file size for color LCD TX (#1612)

* view log files

* warning for long files and load speed-up
2022-02-27 08:42:40 +10:00
eshifriandGitHub c04a716bce feat: Show channel change direction in the output screen via text color (#1526)
chore: Remove COPROCESSOR

* Show channel direction on the output screens (#1385)

* minor cleanup
2022-02-11 10:23:42 +10:00
eshifriandGitHub 6d50917eca chore: Simplified version of #1561
* Merge branch 'main' of https://github.com/eshifri/edgetx

* fix SF repeat feield problem (#1539)

* fix: Radio SF repeat value not stopping at first entry when scrolling. Simplified.
2022-02-08 09:54:14 +10:00
eshifriandGitHub a156fc4515 fix: Radio SF repeat value not stopping at first entry when scrolling left (#1561)
* Merge branch 'main' of https://github.com/eshifri/edgetx

* fix SF repeat feield problem (#1539)
2022-02-06 11:13:40 +10:00
1b66af88af [colorlcd] Warn on model change if telemetry-enabled model connected (#1467)
* Warn on connected model (#1466)

* Make it so not confirming aborts model change

* add delay before accepting disconnected telemtry

* Add power off delay

* Remove whitespace + time unit in name

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-23 10:45:20 +10:00
eshifriandGitHub e07695f1e9 [nv14] Use Flysky range units (#1212) 2022-01-21 20:04:29 +10:00
d30c5f46bc feat: Stuck key test for COLORLCD (#1289)
* Stuck key test for COLORLCD #1271

* always start with the first button, no matter what this button is.

* Add LED  error

* Move LED_ERROR_END to ensure runs after dlg close

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-09 12:24:43 +10:00
eshifriandGitHub 5c371bd39b [nv14] Improve support for old NV14 Radio Module FW (#1329)
* Improve support for old Radio Module FW

* Change OLD RSSI scaling to 100 - 40 range

* change boolean variable name
2022-01-08 13:37:23 +10:00
eshifriandGitHub e15b34941d [NV14] Add switch definitions for NV14 (#1313) 2021-12-29 11:38:17 +10:00
eshifriandGitHub 87724bba2f [colorlcd] Fix pot and slider warning checks (#1281)
Some pot/sliders were being ignored or check state was inverted
2021-12-28 10:25:33 +10:00
eshifriandGitHub a892cc2dac Fix GVARS=NO output values not correctly applied or editing correctly (#1264) 2021-12-19 17:53:34 +10:00
eshifriandGitHub 928f7b3680 Fix telemetry source size on NV14 (#1211) 2021-12-10 11:47:07 +11:00
16fc05ad8e Fix showing of non-existent pots in warnings group (#1129)
* pots warning enabled fix

* yaml_generator whitespace

* Fix UART_MODE_DEBUG

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-07 20:03:28 +11:00
eshifriandGitHub ee883c8354 Support file copy within the same folder (#1209)
* support file copy to the same folder #294

* support file copy to the same folder; B&W  radios added.

* fix the syntax
2021-12-05 11:50:08 +11:00
f97e3e77d5 [LUA] Use COLOR_THEME_PRIMARY1 as a default color (text, shapes, etc) (#1148)
* Use COLOR_THEME_PRIMARY1 as a default lua script color

* second attempt

* redefine DEFAULT as PRIMARY1

* Fixed default lua foreground color

* Revert formatting since file not changed

* Format whole file

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-11-27 20:58:36 +11:00
eshifriandGitHub 907f7306e7 SF Override - fix enable state not working (#1156) 2021-11-26 11:17:05 +11:00
eshifriandGitHub fdb168a999 SF Override - fix extended limits not working (#1149)
* fix SF override limts #1145

* Cleaner fix for extended limits in SF override
2021-11-26 11:10:11 +11:00
eshifriandGitHub 3b0e1ab25e Fix slider center beep buttons not highlighting (#1094) 2021-11-20 21:53:55 +11: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
eshifriandGitHub b1a41438a3 [NV14] Telemetry fixes, use FlySky RX defaults (#856)
* Port from NV14 repository

* Fix altimeter

* Change AFHDS2A default mode to PWM and iBUS

* Fix datacopy.cpp generation for NV14 Windows build

* Cleanup

* Format

* typo fix

* Sngl for alarm and temperature sensor

* remove temperature sensor
2021-10-15 10:18:03 +11:00
7928e5bc20 [NV14] Add range check button and power level choice (#857)
* add range and high power to MV14

* remove spaces

* fix compilation

* compilation fix 2

* Whitespace cleanup and placate git

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-13 16:45:52 +11:00
a4af85ef37 Fix module and trainer subform resizing and show NV14 RF module version (#800)
* Fixes #792
* Add RF module FW version
* Clean(er) implementation
* Whitespace changes cleanup
* Cleanup
* Trainer module fix

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-25 11:42:52 +10:00
eshifriandGitHub 514796fa51 Support input scaling and show telemetry source values (#745)
* support scale for telemetry sensors
* remove clipRectangle
2021-09-17 20:22:54 +10: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
eshifriandGitHub c1cd083476 allow mixes without source (#665) 2021-09-03 19:05:54 +10: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
cf91c87c77 [Colorlcd] Pot and slider model setup settings implemented (#654)
* Pots and sliders warning implemented. #647

* add slider definitions

* Remove whitespace change causing merge conflict

* add slider definitions

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-01 11:10:33 +10:00
eshifriandGitHub a42328a0c3 Merge branch 'EdgeTX:main' into NV14-model-setup-extra-line 2021-08-30 22:06:08 -07:00
eshifriandGitHub eb657119aa Merge branch 'EdgeTX:main' into eshifri/invert_switch2 2021-08-22 11:17:47 -07:00
eshifriandGitHub a9bc56fd38 Merge branch 'EdgeTX:main' into eshifri/invert_switch2 2021-08-17 22:18:00 -07:00
eshifriandGitHub 83ce5b627c Merge branch 'EdgeTX:main' into eshifri/invert_switch2 2021-08-17 12:16:28 -07:00
eshifriandGitHub 3cb496a477 rtcInit() to NV14 (#542)
* add rtcInit() to NV14 board.cpp
* cleanup
2021-08-03 06:26:29 +02:00
eshifriandGitHub 2a1f34a037 Fix for #529 Allows to exit widget setup screen using touch interface. Take 2 (#533)
* Allow touc interface support for widget setup exit

* fix

* Create BACK Button.
2021-08-02 13:52:19 +02:00
eshifriandGitHub 64f277152c Implement View Text (#406)
* View text and code cleanup

* Typo fix

* Fixed case generation

* check list fixed

* Horizontal clipping fixed

* Lost letter fixed.

* Cleanup

* Unified implementation (Rotory button support)

* Fixed USB menu issue and RTN button.

* Rotary encoder acceleration implemented

* Do not close file on every line read

* Sliding window implemented. File size limitations practically removed.

* scrollbar implemented

* Cleanup & scroll bar adjustment

* Cleanup

* Smoother scrolling for long lines.

* Minor cleanup
2021-07-14 10:46:42 +10:00
eshifriandGitHub d878efb376 range mode RSSI (fix for #356) (#377)
* Range mode RSSI (Fix for #356 )

* Formatting
2021-07-01 15:22:54 +02:00
eshifriandGitHub 2aa52965a9 Highlite active inputs and mixies (#337). Take 2. (#361)
* Highlight active inputs and mixies (#337)
2021-06-29 08:55:32 +02:00
eshifriandeshifri 4849915917 Merge branch 'EdgeTX:2.4' into 2.4 2021-06-06 12:17:06 -07:00
eshifri 772b078e38 Merge branch 'EdgeTX:2.4' into 2.4 2021-06-06 09:58:23 -07:00