Commit Graph
19508 Commits
Author SHA1 Message Date
zyrenandGitHub 3a32c8d307 fix: Display corruption on Boxer after shutdown (#3654)
* Solve the messy display after Boxer shutdown

Solve the redundant cluttered display on the screen after Boxer is shut down.

* Solve the messy display after F407 B&W Radios
2023-06-08 18:47:15 +10:00
MichaelandGitHub bd89b01370 fix: HoTT telemetry GPS latitude sign may be wrong in certain circumstances (#3649)
* evaluate every N/S hemisphere latitude position for setting sign in decimal GPS coordinates

* explicit struct init
2023-06-08 15:39:05 +10:00
Peter FeerickandGitHub 687345192b fix(color): Create THEMES dir if missing (#3647) 2023-06-08 11:35:16 +10:00
philmozandGitHub 091b589e6b fix(color): Layout scroll issue with MPM protocol option settings (#3663) 2023-06-08 11:31:04 +10:00
philmozandGitHub d4b7f55e5c fix(colorlcd): Show/hide 'Delete All' button on the telemetry page based on sensor count change (#3631) 2023-05-31 13:39:33 +10:00
Peter FeerickandGitHub a4fd03bd7f fix: Remove double cli option text (#3620)
* fix: Remove double `cli` option
Seems like it was incorrectly added in #2123

* chore: Implcit CLI on ENABLE_SERIAL_PASSTHROUGH

* fix: Not really a conditional

* fix: Opt handled higher up
2023-05-31 13:29:45 +10:00
MichaelandGitHub e25c6d8a99 fix(ui): Auto adjust PPM frame length if greater than 8 ch (#3622)
* Auto-adjusts PPM frame length if channel count is greater than 8 channels

* added auto adjust for PPM trainer mode on b&w targets

* code cleanup
2023-05-31 13:29:17 +10:00
Peter Feerick 892d2b183b fix: Missing "None" for Polish TR_POTTYPES
Resolves #3633
2023-05-30 19:27:31 +10:00
Frankie ArzuandGitHub be1a20f595 fix (telemetry): DSM Telemetry fixes for ESC sensor, Binary GPS, RX Battery Sensor Capacity meter (#3615)
* #3368 DSM Telemetry Fixes

1. Expand constants for telemetry frame SIDs and optimize flow of processing of sensors (less CPU work)
2. Add Binary GPS
3. Add Dual Battery Sensor monitor
4. Fix bad math on some ESC sensors
5. Fix problem where ESC RPM sensor was changed from "Erpm" to "EscR".. fix it back to "Erpm" for compatibility with 2.8.x

* #3368 DSM Telemetry Fixes

1. Split long if-then-else code into more granular function.
2. fix ESC VBEC (BEC voltage)
3. Improve testing function
2023-05-27 17:55:26 +10:00
MichaelandGitHub f1773da256 fix: Missing first channel in PPM stream (#3598) 2023-05-27 14:42:40 +10:00
zyrenandGitHub 48c4191794 fix(translation): Add some missing Chinese characters to font (#3618)
Build CN & TW font library, and complete missing Chinese characters
2023-05-23 19:31:55 +10:00
Neil HorneandGitHub ad5d8e190e fix(cpn): Preserve sort order and selected labels (#3580)
* fix(cpn): read/write models Sort Order (based on work by dlktdr)

* fix(cpn): read and write labels and selected
2023-05-23 13:41:41 +10:00
philmozandGitHub 48e5d141aa fix(color): Fix icons and page colors when theme is changed (#3608)
* Fix icons colors when theme is changed (broken in 3547).

* Update GV, FM and telemetry page colors if theme changes.
2023-05-23 12:15:33 +10:00
philmozandGitHub 9db0526b6d fix: Window sizes where the ComboChannelBar is displayed (#3610) 2023-05-23 11:18:26 +10:00
Peter FeerickandGitHub cff28dee9c chore: Re-enable HELI since now runtime option (#3616) 2023-05-23 10:57:10 +10:00
MichaelandGitHub 8893db2726 fix: MPM protocol options missing for some protocols (#3504)
* fixes #2713

changes:
- use getMultiOptionTitle() instead of rfproto->getOptionStr() as getMultiOptionTitle() takes updated MPM status in account

* code cleanup: removed obsolete functions

* fix #3046

* fixed my complete misunderstanding of how the chosen protocol is updated in Multi DSM auto mode

* removed obsolete check

* update subType list only on rf protocol change

added some comments

* reconsidered implementation utilizing  LV_EVENT_REFRESH to avoid sporadic loss of update

* editorial change

* fix problem where a successful MPM DSM2 auto bind would reset the receiver ID

* reset DSM2autoUpdated just in case
2023-05-23 10:05:12 +10:00
philmozandGitHub 5327c890f2 feat: Add options to disable radio and model menu tabs (#3484)
* Add options to disable radio and model menu tabs.
- Update radio and model data structs
- UI for color LCD radios
- Convert existing 'noGlobalFunctions' property.
- Language strings.

* Make 'theme' control specific to color LCD radios.

* Add B&W radio UI.

* Simplify code, reduce compiled code size.
Fix page count display on model select tab.
Fix GVARS for 212x64 radios.

* Collapse timer sections if timer is off.

* Remove 'Use global functions' checkbox from B&W model setup.

* Make preflight checks, throttle and view options sections expand & collapse (default collapsed).

* Fix build.

* Add view options to companion data classes, save and load values in YAML files.
Fix scrolling for radio setup view options.

* Add Companion UI for view option settings.

* Remove 'Mixes' from list of tabs that can be hidden.

* Updated Companion UI from elecpower.

* Use view options flags to enable/disable functionality:
- skip heli mixer logic if heli not enabled
- Remove heli, gvars and telemetry options from source selection if not enabled

* Remove 'flight mode', 'curve' and 'global variable' settings from input & mix editors if option disabled.

* Rename 'View Options' to 'Enabled Features'.
Put GVAR option under Flight Mode and indent text.
Make relationship between FM and GV more obvious.

* Remove global variable option dependency on flight modes.
Hide FM1-FM8 in global variables if flight modes hidden.

* Hide 'Custom Mixer Scripts' in source selection menu popup if disabled.

* Add translation strings for Hebrew language file.

* Fix typo. Add comment for double call to setCurrentTab.
2023-05-22 20:08:16 +10:00
MichaelandGitHub 04359757c4 fix: Update built-in Multi-protocol module protocol lists, single source for firmware and cpn (#3435)
* - Concentrated Multi protocol definitions into a consistent single source. Actually two .h files, one for the protocol list and names, the other for subtypes and capababilites, see comments in .h files as to why

- updated available protocols reflecting 1.3.3.20 (15+ protocols)
- fixed Companion always showing f/s and channel map options in model setup disregarding the protocol capability

* Following @pfeerick's review: changed heaeders and typos

fixed Ubuntu runtime error on assert
fixed change of Multi protocol not triggering writing yaml file

* corrected copy/paste error

* fixed FrSky index juggling

* Updated Multiprotocol database to current MPM project status (ref. MPM Multiprotos.ino)

- changed protocol name FX816 to FX
- added Flysky AFHDS2A options PPM and PPWM SBUS 16ch subtypes "PWM,SB16" and  "PPM,SB16
- added V761 option to select TOPRC
- added FX options "816" and "620"
- added FRSKYR9 option "-- 8ch"

* MPM protocol scan excludes some protocols which are not meant to be selected. For Companion and Simualtor (and for radios if there is no MPM connected) this was handled in different places with outdated information. Harmonized and centralized the handling of non-selectabale protocols into the single source for all companion, Simulator and all gui types.

* More cleanup:

- changed some MPM protocol names to the ones the MPM delivers with MPM protocol scan to harmonize names between CPN/Simulator/radio
- added XN2927DUMP and MOULDKG to the list of excluded MPM protocols just like the MPM does with MPM protocol scan
- added new option value limits and moved definitions to single source
- adapted CPN and radio to use common definitions of option values for all GUI types
- moved distributed MPM (as far as possible) to one coherent place under a single #if defined (MULTIMODULE)
- fixed option value not reset at change of protocol
- some editorial stuff

Note: There is still some work to be done on CPN GUI option values. DSM2 servo rates are hard coded, BAYANG telemetry options are only shown by index and not by text as in radio code, AFHDS2A servo update rate is shown as index too which is to no use for users.

I'll try to fix all this in the next session, but request to get rid of BAYANG telemetry options translations. It is much easier to define a common string list by using untranslated.h

* rebase due to fr.h

* resolve merge conflict with main fr.h

* more cleanup:

- deleted multiple definition of MM_RF_CUSTOM_SELECTED in favor of single source define
- bw radios: change to only allow defined protocols rather than a fixed 127 protocols

* Changes:

- magic sentinel number 0xfe as define
- add 10 NN protocol entries for future use of new MPM protocols not yet defined in ETX (still recommend timely ETX maintenance update if MPM releases new firmware)

* Changes by @elecpower:

- align field labels to radio
- change servo update frequency from combo box to spin box with edit only via up/down arrows to stop invalid values being entered via keyboard. Remove frequency list used to populate combo box as only used by Companion.
- add validation to module yaml decode checking for unsupported multi protocols and/or multi protocol sub types and if unsupported set module to OFF just to be safe.

* Changes:

- radio: added validation to module yaml decode checking for unsupported multi protocols and/or multi protocol sub types and if unsupported set module to OFF just to be safe.

* CPN: use sentinel define

* cpn: Sort multi protocols list (courtesy @elecpower)

* fixes #3480

changes:
- moved FrSky subtype defines to MultiProtoDefs.h
- updated bind_button_driver.cpp

* missed replacing one instance of setMultiProtocol()

* changes:

- editorial change
- added multi option to OMP protocol (ref #2713)

* rather go for STR_MULTI_RFTUNE because MPM manual talks about RF tune

* made XN297_DUMP selectable (available with MPM debug fw only)

* corrected merge mistakes
2023-05-22 20:07:29 +10:00
Peter Feerick 52576d64c4 chore(github): Auto close pending closure issues 2023-05-22 19:48:49 +10:00
3djcandGitHub d383826b3f fix: FrSky BT support on B&W RM radios with BLE port (#3607)
* FrSky BT support on RM radio with BLE port

* Remove hardcoded 'no bt'

* Compilation fix
2023-05-22 19:01:41 +10:00
Peter FeerickandGitHub 9f681fcbb6 chore(github): Add version numbers to bug report template 2023-05-21 13:09:22 +10:00
gagarinlg 3ca63cbb9b chore(libopenui): update license 2023-05-18 14:56:37 +02:00
gagarinlg 1e2b4db1d2 chore(libopenui): replace license files 2023-05-18 14:55:56 +02:00
gagarinlg e77909e17f chore(libopenui): add submodules used by libopenui 2023-05-18 14:53:20 +02:00
gagarinlg 2418f1114e chore: pull libopenui into the EdgeTX repository 2023-05-18 14:49:35 +02:00
gagarinlg 843e42b964 chore: remove libopenui submodule 2023-05-18 14:48:41 +02:00
RistoandGitHub f8814a072e feat(ui): rephrased to "Missing or bad radio data" (#3589)
* feat(ui): rephrased to "Missing or bad radio data"
Less daunting label if \RADIO folder on SD card is non-existent.
Thx to jan-kozak-oc, robustini, ToshihiroMakuuchi, Pat6874, HThuren, Eldenroot, ulfhedlund and zyren for translations.
2023-05-17 13:20:41 +02:00
philmozandGitHub 75ccc4a9a9 fix: Include internal module type in backup data for EM (#3603)
... so radio re-connects to receiver if internal module is in use!
2023-05-17 20:41:09 +10:00
philmozandGitHub f2936931f7 fix(color): Memory leaks when using USB mass storage connection (#3547)
* Fix memory leaks when using 'USB Storage (SD)' connection.
- Lua state 'cache' allocated to both lsScripts and lsWidgets; but only one was being released.
- Default theme bitmaps being reloaded without releasing previously allocated memory.

* Fix icons.
2023-05-17 18:28:29 +10:00
MichaelandGitHub ce5d62af78 fix: Rqly % rx stat type for PPM MLINK telemetry protocol (#3605) 2023-05-17 17:05:27 +10:00
MichaelandGitHub fd7d359695 fix: RX stat labelling dependent on telemetry protocol (#3523)
* RX stat (formerly known as "RSSI") labeling dependent on protocol (RSSI/dbm, Rqly/%, Sgnl/-)  used for range check, multi rf tuning and low/critical warning settings pages

* chore: Bump libopenui

* removed define that was supposed to be for testing only

function getRxStatLabels(): wasting flash as inline, no need to be inlined

* removed inline on getRxStatLabels() - step 2
2023-05-17 11:17:35 +10:00
MichaelandGitHub 5db37e2a2b feat: Support for ext. Multiplex MLink JR type module (#3352)
* introducing external MLink module telemetry as module PPM subtype

* implemented fix for sensor discovery display not showing all detected sensors (is in separate PR too)

implemented PPM subtypes in Companion

* add PPM subtype to model printer

finalize subtypes for PPM in Companion

* added logic to try to use HW UART with inverters turned off first (e.g. NV14), then, if not successfull use soft serial inverted (== uninverted data due to HW inverters on PCB)

changed start bit detection IRQ priority from 5 to the previous 0 (also in separate PR)

* extended telemetry timeout to 2s due to slow Mlink RSSI update rate

* changed the "NOTLM" sub-type texts to:

- "No Telem" for 128x64 (this is the max numbers of characters it can take)
- "No Telemetry" everything else including Companion

* Companion:

- lower case 1st charachter on PpmSubTypeStrings to ppmSubTypeStrings
- added telemetry hooks for ppmSubTypeStrings stringx

* simplified serial port initialization for MLink telemetry

* editorial change: corrected obsolete comment
2023-05-16 11:22:47 +10:00
philmozandGitHub 3d6bc638a6 fix: Remove audio queue state check for SF 'Play Sound' action (#3567)
Was preventing sounds running from startup
2023-05-15 21:25:18 +10:00
Peter Feerick 70d02a75f4 chore(github): Update depreciated nightly action
Need to replace the deploy release action too though
2023-05-15 13:17:16 +10:00
philmozandGitHub d29317ecd0 chore(cpn): Fix compiler warnings when building (#3383)
* Fix build warnings.

* Rename 'flags' function.
2023-05-15 11:24:54 +10:00
Neil HorneandGitHub 54483e6c4e fix(cpn): Simulate from model only yml file (#3537) (#3566) 2023-05-15 11:22:49 +10:00
ulfhedlundandGitHub e603581105 chore: Translation of "Range Test" (#3584)
* Translation for range test

* Translation for range test

* Translation for range test

* Reviewed translations for 9 languages

Reviewed translations for 9 of 11 actively translated languages

* Translations for Chinese and Taiwanese
2023-05-14 16:28:27 +10:00
Stav RavivandGitHub dd64aaef2e feat: Hebrew radio translation 🇮🇱 (#3506)
* Hebrew radio translation 🇮🇱

* chore: loop in alphabetical order

* Replace Arial with Arimo

* Add "he" to companion settings
2023-05-14 13:36:53 +10:00
HThurenandGitHub bd14c83b6a chore(translation): Danish updates 🇩🇰 (#3581)
* Comp + radio - DA update

* change da to da_DA
2023-05-13 17:58:56 +10:00
Neil HorneandGitHub 376365725a chore(cpn): Update supported radio UI languages (#3587) 2023-05-12 12:59:36 +10:00
Neil HorneandGitHub 3692718e8a feat(cpn): Add Hebrew voice to radio settings (#3586) 2023-05-12 10:08:07 +10:00
Neil HorneandGitHub 1b1b9f7439 fix(cpn): T-Lite F4 board capability logic test (#3585) 2023-05-12 10:07:29 +10:00
Offer ShmuelyandGitHub e9750a6f91 feat: Support selection of Hebrew audio pack (#3511)
* support hebrew audio selection

* support hebrew audio selection

* support hebrew audio selection

* support hebrew audio selection

* support hebrew audio selection
2023-05-11 10:40:53 +10:00
0ef4199632 chore: Review IT translations 🇮🇹 (#3505)
* Review IT
Signed-off-by: Pancronos <pancronos@gmail.com>

* chore: Fix most of space/tab indentation

* chore: Update attributions

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-05-11 10:34:15 +10:00
PatrickandGitHub 449d20997e chore: Update French translations 🇫🇷 (#3461)
* Update fr.h

continuation of the translation...
It's not over yet!

* chore: More updates

* Update fr.h

* Update fr.h

* chore: Minor corrections
2023-05-11 10:33:21 +10:00
32e544c8dd chore: Support T-Lite F4 variant (#3254)
* TLite F4

* chore: Add to fw list for Buddy

* chore(cpn): TLite F4 Companion support

* fix: Remove seemingly incorect cmake set
Or at least, the code now builds without that directive

* fix(cpn): Stupid typo

* chore: Actually build/register tlitef4 simulator

* fix: Need tlitef4 flavor for simulator and updates

* chore: tlitef4 can use tlite simulator

* fix: downloadid AND simulatorid

* fix: Correct simulatorid

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: Peter Feerick <pfeerick@users.noreply.github.com>
2023-05-10 19:43:07 +10:00
philmozandGitHub 2588e89ca1 fix(color): 'Custom Mixer Scripts' not showing in source selection menu (#3577) 2023-05-10 09:29:07 +10:00
Maksim BrykovandGitHub 2568f33188 fix: Add default contrast settings for Zorro (#3575) 2023-05-09 21:20:17 +10:00
Neil HorneandGitHub f800447cd5 feat(cpn): Radio types can reference any libsim and/or firmware download id (#3432)
* Radio profiles reference any libsim and/or firmware download id

* Revert files filter for now
2023-05-07 18:01:14 +10:00
MichaelandGitHub c6188af631 Add setters for DynamicNumber prefix and suffix texts (#90)
required by RX stat labeling on range check, rf tuning, low/critical warning pages
2023-05-07 14:05:50 +10:00