Commit Graph
18696 Commits
Author SHA1 Message Date
philmozandGitHub 6985d3f24b feat(color,cpn): Updates to the model telemetry page, sensor ID consistency (#3401)
* Add 'Show Instance ID' button to telemetry page to show/hide sensor instance number (default is hidden).
Fix issues with page refresh when all sensors deleted.
Select closest sensor when a single sensor is deleted.
On change, only refresh the sensor list instead of the whole page.
The 'showInstanceIds' property is saved to the model file.
Update Companion to save/load 'showInstanceIds' in model YAML file. Add checkbox to telemetry edit page.

* Update all radio specific files.

* Keep focus on 'Discover/Stop' button when searching for new sensors.
Start sensor ID index at 1 to match B&W radios.
Keep focus on changed parameter when editing sensor, don't rebuild entire parameter list on change.

* Display actual 'instance' ID instead of 'instance' + 1.

* Fix incorrect ID when reloading simulator data.

* Fix incorrect ID when reloading simulator data on B&W radios.
2023-04-17 18:44:44 +10:00
Marco RobustiniandGitHub 7bf6dbba0f chore(translation): Update Italian translations(#3485)
Joystick and servos section translation
2023-04-17 18:19:34 +10:00
philmozandGitHub e0fad3d122 fix(color): Popup telemetry warning can crash radio (#3439)
Also fixes issue where simulator does not close cleanly if popup showing.
2023-04-16 18:25:29 +10:00
philmozandGitHub b3c7a95aa2 fix: Direction detection for rotary encoder on startup (#3445) 2023-04-16 17:08:59 +10:00
philmozandGitHub 5b0e47ff42 fix(color): Rework rotary encoder acceleration calculation, fix getRotEntSpeed not working (#3441)
* Rework the rotary encoder acceleration calculation, and remove double handling of acceleration.

* Reduce the acceleration sensitivity.

* Set the 'rotencSpeed' variable for the Lua getRotEntSpeed function().
2023-04-16 16:54:46 +10:00
Bryan MaylandandGitHub a49ab1d673 feat: Add haptic startup buzz for radios with no startup animation (#3478) 2023-04-16 10:57:34 +10:00
philmozandGitHub 7f5ea004e4 feat(color): Sort the widget list by display name (#3476) 2023-04-15 19:14:44 +10:00
125fd2ba28 fix: Missing configurable port code, R9M Access, support FRM303 via mod (#3442)
* Fix configurable external module port

* Added FRM303 support for TX16S via AUX1 mod, i.e. direct connect AUX1 TX/RX to PPM/Heartbeat pins.

---------

Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
2023-04-15 19:04:34 +10:00
philmozandGitHub e03add0b86 fix(color): Memory leak when disconnecting USB in SD card mode (#3453) 2023-04-15 18:41:35 +10:00
philmozandGitHub bb83780367 fix(TX16S): Building firmware DEBUG=YES and INTERNAL_MODULE_PXX2=OFF (#3460) 2023-04-15 17:56:54 +10:00
richardclliandGitHub 01829a12d2 fix(color): Default splash screen that fits NV14/EL18 screens (#2764) 2023-04-14 19:46:21 +10:00
richardclliandGitHub 4f624cc3bc fix(afhds3): Only first four failsafe channels being set (#3465) 2023-04-14 09:27:14 +10:00
Peter Feerick a741c11c32 chore(afhds3): UI cosmetics
Missed a spot ;)
2023-04-13 21:30:35 +10:00
Peter Feerick ddf6222d6b chore(afhds3): UI cosmetics and formatting
Post #3443 cleanup
2023-04-13 20:40:58 +10:00
Xy2019andGitHub 02e804f55c fix(afhds3): Unable to set SBUS, IBUS display issue, indiv channel PWM freq (#3443)
* Fix the BUG of V0 receiver setting IBUS SBUS; add the setting item of INRM301.

* Fix check failure; remove some unused characters.

* Fix typos and rename variables as well as fix compilation errors.

* add language
2023-04-13 19:36:43 +10:00
Peter Feerick d09fbc3ee1 fix(color): MPM protocol not always sav to storage
In the unlikely occurance you *only* choose a
protcol and turn off the transmitter, it won't be
saved!
2023-04-13 14:56:36 +10:00
philmozandGitHub 4315217f65 fix(color): Custom failsafe settings not always to storage (#3463) 2023-04-13 14:49:21 +10:00
Peter FeerickandGitHub 5a18647cd4 fix(X9lite): Chan. monitor, other display glitches (#3452)
It seems the display used on these TX doesn't
like too many horizontal lines.
2023-04-13 14:40:57 +10:00
MichaelandGitHub 40ef11d7a4 fix: Undesired MPM protocol selection changes (#3444) 2023-04-13 14:39:17 +10:00
philmozandGitHub 0754830aed fix(bw): Fix crash when editing ext. multi module type on 212x64 radios (#3459) 2023-04-11 14:39:08 +10:00
PatrickandGitHub 745c465bed chore(translation): Updates to French translations 🇫🇷 (#3447) 2023-04-10 12:58:13 +10:00
f935ce8c2b feat(color): Add layout 4+2B right side 3QRT+1QRT (#3315)
* Add layout 4+2B right side 3QRT+1QRT

* Fix Layout 4+2B LayoutId, length max 9 char

* Maybe this will work?

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-04-10 12:00:59 +10:00
philmozandGitHub 227780d784 feat: Add 'repeat' option to 'Lua Script' special function (#3338)
* Add support for the '1x' repeat option for 'Play Script' special functions.

* Add Companion and B&W radio support.

* Fix B&W radio logic and layout.

* Add translation hooks.
2023-04-10 11:00:50 +10:00
6138f29da6 feat(color): Show 'Press any key to skip' message on alerts that have no message (#3433)
* Show the 'Press any key to skip' message on alerts that currently have no message.

* Show action button on storage format warning also

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-04-09 20:56:28 +10:00
philmozandGitHub 26f166011c fix(color): Active widget popup menu causing issues with radio menus (#3417) 2023-04-09 13:50:25 +10:00
philmozandGitHub 92651429a2 feat(color): Use generic YAML parser to save/load Theme yaml files (#3346)
* Change ThemeFile class to use generic YAML parser instead of hard wired code.
Fix handling of empty input lines in YAML parser.
Increase size of YAML parser variables to handle theme 'info' property length.

* Update comment.

* Fix error.

* Proper fix for blank lines in YAML file.

* Fix YAML blank line handling (attempt 3).

* Ensure theme YAML file is backward compatible.

* Store selected theme in radio settings instead of selectedtheme.txt file.
On start, if radio settings theme is empty, try and load from selectedtheme.txt file.
In Companion, save/load the selected theme in the radio settings YAML file; but no UI to select theme.

* Update selected theme name in radio.yml if the theme name was edited.

* Only save 'selectedTheme' in Companion on color LCD radios.
2023-04-09 13:32:30 +10:00
richardclliandGitHub f01b0f2772 fix(AFHDS3): Incorrect channel scaling (#3449)
* Fixed IRM301/FRM303 channels scaling problem.

* Add back the remarks for calculation.
2023-04-08 20:17:40 +10:00
MichaelandGitHub 2ce94e3e4b fix: X10access - no PPM output on CPPM pin (#3419) 2023-04-05 14:03:15 +10:00
Peter Feerick a089f2d6c8 chore(github): issue-template indentation 2023-04-05 10:56:04 +10:00
Peter FeerickandGitHub f0d7e8769b chore(github): Add os and os-version fields for bug repots 2023-04-05 10:50:53 +10:00
Paul TapperandGitHub 2b3559dcea fix(build): Non-empty attribute causing clang 16+ build error (#3437)
empty for anonymous structures but contains a descriptive
string in brackets. Resolves the build error "Cannot handle
non anonymous unions" from this script.
2023-04-05 10:29:05 +10:00
MichaelandGitHub 50b492df94 fix: Incorrect subprotocol count causing simulator crash, garbage entry (#3426) 2023-04-03 12:37:06 +10:00
philmozandGitHub af02340b87 fix(color): Adjust portrait layout for debug view (#3422) 2023-04-01 18:49:43 +10:00
Peter FeerickandGitHub 63a77336cb chore(github): Add more version numbers to issue template 2023-04-01 17:26:48 +10:00
HThurenandGitHub 07af9306e9 fix(translation): Typo in Danish translation (#3420) 2023-04-01 11:25:27 +10:00
1f82724a95 feat(color): Better debug names on statistics page (#3245)
* better_debug_name_on_statistics_page

* chore: Translations for Lua related strings

* chore: More translation strings for stats screen

* chore: Padding for STR_MS, STR_BYTES

---------
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-03-30 12:12:45 +10:00
HThurenandGitHub 97d812a7df chore(translation): DA radio and companion updates (#3416)
* Compaion changes

* minor DA changes for radio

* minor DA changes for radio

* minor DA changes for companion

* minor DA changes for radio
2023-03-30 11:44:53 +10:00
Neil HorneandGitHub 5465984239 fix(cpn): Load models into slot based on filename for B&W radios (#3373)
* Fix(cpn) - load models into slot based on filename for non-label radios

* Check model filename index within bounds and if not skip file

* Check if slot is free before loading file if not skip
2023-03-27 14:01:08 +10:00
Neil HorneandGitHub 45e76f3a3d fix(cpn): Inability to paste model to empty slot on B&W radios (#3371)
* Fix(cpn) - paste model to empty slot non-labels radios
Chore(cpn) - remove traces of categories

* Turn off debug msgs
2023-03-27 13:34:00 +10:00
philmozandGitHub ebef94d993 feat(color): More compact Flight Mode list and edit views (#3344)
* Flight mode list and edit changes:
- Update trim ranges in Companion to match radio.
- Move trims setup to main edit view instead of dialog popup.
- Show/edit current trim value for each trim (if enabled)

* Show flight mode list view like logical switches.

* Update FM trim values in edit window if trim is changed (via trim switch).

* Use styles for layout

* Remove grid layouts - use flex flow as it is faster.

* Speed up page build time.
Reduces build time on TX16S Mk2 from ~320ms to ~25ms.

* Fix touch screen events.
2023-03-27 11:43:44 +10:00
MichaelandGitHub 7e581d00dd fix(bt): Logic error where txCompleted was reported while still transmitting (#3405) 2023-03-27 09:49:31 +10:00
5622cb9c5c chore(color): Replace StaticText with LVGL labels on GVARS page (#3310)
* chore(ui): speedup gvars page

* Replace StaticText with LVGL labels.

* Further performance improvements.

* Remove diagnostics.

* Fix portrait layout.

* Refactor style to a separate class and use CHECKED state to control color of selected flight mode.

* Remove duplicate lines.

* User LVGL state and style for GV value font size selection.
Reduce the number of times the style_refresh state is changed.

* Center align name without needing hard wired offsets.

* Speed up page build time.

* chore: Bump libopenui
gagarinlg chore(ui): improve static text and window base speed (#88)

---------

Co-authored-by: gagarinlg <malte@langermann.net>
2023-03-26 19:10:56 +10:00
philmozandGitHub 044344f18f fix(build): Impove yaml generator libclang compatibility (from PR#2631) (#3402) 2023-03-26 19:06:15 +10:00
philmozandGitHub 4f5061438f fix(color): Some radio settings properties not triggering update of radio.yml (#3404) 2023-03-26 18:15:29 +10:00
philmozandGitHub fdf92b106e fix(cpn): Handling of 'Edge' logical switch V2/V3 parameters (#3322)
- Fix maximum allowed value for V3
- Update V3 displayed value when V2 changes.
2023-03-26 13:05:55 +10:00
Raphael CoefficandGitHub cb43cf75b9 fix: Flashing internal ISRM and via S.PORT connector (#3374)
* fix: re-enabled flashing via S.PORT connector

* fix: remove check for productId on internal module
2023-03-26 11:30:01 +10:00
Raphael CoefficandGitHub e016598b56 fix: Various mostly X10E soft serial issues (#3382)
* fix: pulse driver with 32bit timers

* fix(mpm): clear RX buffer before signature

* fix: add some debouncing on soft-serial start bit detection

This helps coping with spurious impulses on S.PORT created by payload sent over PPM pin (X10E).

* fix: whenever the RXNE bit is set, read the register

... regardless of errors. That allows for reducing the effect of detected errors.
2023-03-26 11:23:32 +10:00
Raphael CoefficandGitHub 8560c1f6bf fix: x10 Express boot freeze and bluetooth lockup (#3349)
* Fix attempt for boot issue

* fix: reset BT usart context after de-init
2023-03-26 11:07:56 +10:00
Raphael CoefficandGitHub d0b95e0a5b fix(pxx1): Pulse length should be 8us (#3231) 2023-03-26 10:27:05 +10:00
Peter Feerick 80945c3874 fix(BW-128): Third col offscrn when bars and timer 2023-03-24 18:10:02 +10:00