Commit Graph
18324 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub 487f075ca7 fix(color): module setup sub-type after selecting MPM (#2548)
This fixes following issue:
- switch the external module to "Multi"
- switch to something else
- check the faulty sub-types
2022-10-14 11:12:10 +10:00
Raphael CoefficandGitHub 08f89dbbdf fix(B&W): a~x not being displayed correctly (#2539) 2022-10-14 10:55:27 +10:00
Raphael CoefficandGitHub 584e194388 fix(X10): Simulated page up in menu toolbar (#2543)
Fixes #2542
2022-10-14 10:46:19 +10:00
Raphael CoefficandGitHub 1766b7d6c0 fix: hard coded special characters (#2538)
* fix(B&W): delta character in outputs

* fix: more special characters

* fix: NV14 compilation
2022-10-13 17:27:45 +10:00
Raphael CoefficandGitHub 9bfb36a587 feat(color): single press to trigger model select menu (#2533)
In a similar way as the file preview, using the ENTER key will trigger the menu, while touching a preview unselected model will just select it in the list. A second tap will then trigger the menu.
2022-10-13 13:08:21 +10:00
Raphael CoefficandGitHub eb2e693eae fix(color): shortcut for model select (#2528)
Prior to this fix the model settings would be opened as well when long pressing the model key.
2022-10-13 09:41:10 +10:00
Raphael CoefficandGitHub 2f88281ab2 fix(color): screen / widget setup (#2532)
This fixes the issue introduced in #2509 which would cause the main view to be hidden while configuring widgets.
2022-10-13 09:39:37 +10:00
richardclliandGitHub 5c555244d2 fix(NV14/EL18): Reduce LCD pixel clock to 1000000 (#2525) 2022-10-13 09:35:26 +10:00
Raphael CoefficandGitHub ffe4fe7e17 fix: clear internal module FIFO after DMA init (#2527)
Otherwise, NDTR will be 0 instead of [buffer size], and thus the read index will not be set to the correct value.
2022-10-13 09:33:51 +10:00
zyrenandGitHub ed6cb9ffc7 fix : Correct inappropriate translation of CN and TW (#2526) 2022-10-12 21:47:21 +10:00
Peter FeerickandGitHub 73aa2e5775 fix(cpn): Handle mixer scripts with no inputs def. (#2523)
Because it seems like I managed to configure it just so
and Companion didn't like that.
2022-10-12 19:23:27 +10:00
Raphael CoefficandGitHub 6f494e109c feat(telemetry): extend link quality warnings range (#2251)
* feat(telemetry): extend link quality warnings range

* Set default values to the old legacy FrSky values

* Companion support
2022-10-12 14:28:32 +10:00
Peter Feerick b549820acb fix: Reset back to ETX branch
Idiot PBKAC merged wrong PR
2022-10-12 13:08:46 +10:00
Gábor BányászandGitHub 867d627b39 Speed up bulk menu addition. (#2516)
* Speed up bulk menu bar addition.

* libopenui reference
2022-10-12 13:04:17 +10:00
CliffandGitHub 44add84b17 fix(color): only open model###.yml files (#2514)
* Only open model#x.yml files

* Remove Trace
2022-10-12 12:59:10 +10:00
Raphael CoefficandGitHub e7969e737d fix(tpro): function switches auto-switch & position matching (#2505)
* fix(tpro): auto-switch for function switches

Fixes #1488

* fix(tpro): matching function switch UP position
2022-10-12 12:52:00 +10:00
Peter FeerickandGitHub d349c281c3 fix: Style/color tweaks (#2441)
* fix: Make text color for active PRIMARY1, not 2

* fix(nv14): Portrait channel monitor single column

* fix: Tweak channel bar icons and horizontal layout

* fix: Move channel bars down slightly

* fix: Active button text color
2022-10-12 12:51:37 +10:00
Raphael CoefficandGitHub 26b34a4820 fix(sdcard): use init marker in initialised BSS segment (#2517)
`g_FATFS_Obj` is located in `__DMA` section, which is not initialised, so that testing `sdMounted()` at boot relies on the fact that the bootloader linker script declares BSS in internal SRAM and not in CCM, as the firmware linker script does.
2022-10-12 12:51:09 +10:00
Raphael CoefficandGitHub 655965d7a6 fix: prevent endless loop with SBUS trainer on model change (#2515)
* fix: prevent generic module de-init if protocol is NONE

Fixes #1898

De-initialising the external module while SBUS trainer is used on external module RX leads to the following sequence:
- `extmoduleStop()` is called, thus shutting down the timer DMA
- on certain targets, the timer DMA stream is the same as the external module RX DMA stream
- when this DMA stream is used by the SBUS trainer input, this leads to DMAFifo to return random bytes continuously
- thus driving `processSbusInput()` into an endless loop, which is run in the mixer task
- as the mixer task has the highest priority, it runs forever
- after some time the watchdog timer expires, and causes a reboot

* DMAFifo: check if the stream is enabled

This provides some hardening to avoid the conditions described in previous commit.
2022-10-12 12:45:10 +10:00
zyrenandGitHub 0d5ef0bf24 feat: More CN & TW translations (#2519) 2022-10-12 12:22:26 +10:00
EldenrootandGitHub a9ad3c9f13 feat: More CZ translations (#2518) 2022-10-12 12:21:15 +10:00
e90cd0f440 feat(X10/X12S) Int/Ext Antenna UI (#1765)
* feature(colorlcd): antenna selection

* fix: let's assume all internal XJT modules used in horus targets are either X10 or X12S type

* fix NV14 compilation

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-10-11 21:48:46 +10:00
Raphael CoefficandGitHub 324c8e9eef fix(PXX2): prevent legacy telemetry polling (S.PORT) if the module driver defines its own method (#2504)
This is to prevent the S.PORT line to interfere with PXX2 telemetry reception, especially with R9M ACCESS.
2022-10-11 21:36:24 +10:00
Raphael CoefficandGitHub 37002080a1 fix(color): window tree preventing superfluous drawing (#2509)
This prevents the main view to be redrawn if fully covered by a tab group, a page or a full screen dialog.
2022-10-11 16:29:59 +10:00
786fbcb411 feat: Japanese radio translation 🇯🇵 (#2456)
* Japanese radio translation

`jp.h` based on #2006 (Kudos to @ToshihiroMakuuchi)

* fix: Gyro is now IMU

* Japanese modifications were made to the display. (#2171)

* Update JP translation file

* Update JP fonts

* Fix rotary encoder mode string

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: まっく まるちぷろとこる <36994795+ToshihiroMakuuchi@users.noreply.github.com>
2022-10-11 11:42:24 +10:00
c19373538a File browser touch preview (#2492)
* do not display model image when outside of the IMAGES folder

* Trigger file action only if file already selected

Co-authored-by: eshifri <eshifri@hotmail.com>
2022-10-11 10:52:50 +10:00
ulfhedlundandGitHub 50c2e5bc77 fix: Translate widget "full screen" menu option (#2511)
* Added STR_WIDGET_FULLSCREEN

* Added STR_WIDGET_FULLSCREEN

* Added STR_WIDGET_FULLSCREEN

* Added STR_WIDGET_FULLSCREEN and corrected TR_WIDGET_SETTINGS to STR_WIDGET_SETTINGS

* Added TR_WIDGET_FULLSCREEN

* Add files via upload
2022-10-11 10:37:21 +10:00
Raphael CoefficandGitHub bece340186 feat: FullscreenDialog also support long pressed ENTER (#2506)
Resolves #2500
2022-10-11 10:29:43 +10:00
Raphael CoefficandGitHub bae5102762 feat(color): Add copy button to failsafe channel (#2507)
* feat(color): add copy button to failsafe channel

Implements #2416

* Improve custom failsafe layout slightly
2022-10-11 10:09:15 +10:00
Peter FeerickandGitHub af45201f64 feat(cpn): iFlight Commando8 support (#2244)
* feat(cpn): Initial iFlight Commando8 support

* fix: Commando8 doesn't have trainer port

* feat: Add Simulator for iFlight Commando8
Also some minor code re-order for BetaFPV LR3PRO

* chore: EEPROM_VARIANT not used

* chore: Remove EEPROM bits that don't seem needed

* fix: Build simulator plugin

* fix: Simulator PGUP/PGDN the right way around

* fix: Keep trainer mode in cpn for MPM, etc
2022-10-10 12:59:28 +10:00
Raphael CoefficandGitHub a8f1973507 fix(color): outputs in portrait mode (#2489)
Fixes #2442
2022-10-09 20:49:24 +10:00
Peter FeerickandGitHub 78e2bb05a2 feat: CPP Widget names also translatable (#2454)
* feat: CPP Widget names also translatable

* chore: Add cn, cz, de, it, se, tw translations
2022-10-09 20:39:05 +10:00
Raphael CoefficandGitHub 8c8b24225d feat(EL18): Add AFHDS3 receiver options (#2470)
* Get config after switching model ID

* Remember set model ID and change it on the fly

* Add AFHDS3 options

* Fix compiler warning

* Fix box sizing

* Apply model config before editing options
2022-10-09 19:54:55 +10:00
Peter FeerickandGitHub 9fa9a0c594 fix(color): Adjust about dialog size (#2497)
Fixes #2496

* Adjusts size of dialog to look better on NV18/EL18
* Adjusts size of dialog content depending on presence of version tag

I'm sure this could be done better using LVGL,
but is enough for now IMO.

Also let the auto-formatter loose on this file.
2022-10-09 19:51:41 +10:00
ulfhedlundandGitHub 920812cc70 feat: More Swedish translation updates (#2490)
* Further improvements and additional translations for widgets (#2454)

* Change for wizard translation

* Minor changes

* Minor changes

* Moved translations for #2454 to correct location 

Put them at same location as in en.h

* chore: `BREAKSPACE` is not longer valid
2022-10-09 18:28:07 +10:00
40ae2e22a8 fix(gui): add missing channel IDs to mixer and output tabs. (#2464)
* fix(gui): add missing channel IDs to mixer and output tabs. Fixes #2073

* fix: input display and more space for names

* made output names fit on all display variants

* channe id display fine tuning

* Outputs with no name are bigger
... magnifying glass was not included with tx ;)

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-10-09 15:59:19 +10:00
Raphael CoefficandGitHub 59b33622b8 fix(color): prevent recomputing points in NumberEdit() constructor (#2474)
Fixes #2452
2022-10-09 15:53:34 +10:00
Peter FeerickandGitHub 69d6b27e59 fix: fw.json missing comma 2022-10-09 14:16:50 +10:00
Peter FeerickandGitHub e1a0978a56 chore: Add entry for EL18 even though it uses NV14 fw 2022-10-09 14:16:24 +10:00
eshifriandGitHub 80b6e10a95 fix(color): Sliders and pot warning not working (#2494) 2022-10-09 11:19:47 +10:00
Peter Feerick 69d328f1a1 fix(color): Reduce menu outline to two pixels 2022-10-08 13:46:33 +10:00
Malte LangermannandGitHub e120ea1548 fix(color): Missing highlight of the Min/Max value in output editor (#2480)
* fix(gui): add missing highlight of the Min/Max value in output editor acccording to the input

* change outputs min/max highlight

* output min/max highlight the right way

* chore: Bump `libopenui`
2022-10-06 20:15:31 +10:00
Raphael CoefficandGitHub f7e3458bac fix(multi): set bind status explicitly when aborted manually (#2455)
* fix(multi): set bind status explicitly when aborted manually

Fixes #2263

* fix: adjust MPM bind status on B&W as well
2022-10-06 20:03:39 +10:00
Raphael CoefficandGitHub d014709172 fix(color): some lines containing boxes could be scrolled horizontally (#2471) 2022-10-06 17:19:20 +10:00
Raphael CoefficandGitHub fa0eac3af6 chore: Remove unnecessary BREAKSPACE (#2432)
and streamline translation definitions.
2022-10-06 16:41:51 +10:00
MichaelandGitHub 3dc4a94715 fix(color): Changes to widget options not always being saved (#2475)
* fixes issue https://github.com/EdgeTX/edgetx/issues where a change of the source value in widget settings was not written back to the model .yml file.

* fixes https://github.com/EdgeTX/edgetx/pull/2475

extended force write to .yml to all widget settings option types

* fixes issue https://github.com/EdgeTX/edgetx/issues/2465 where a change of the source value in widget settings was not written back to the model .yml file.

* https://github.com/EdgeTX/edgetx/issues/2465

extended force write to .yml to all widget settings option types

* removed unnecessary SET_DIRTY() for ModelTextEdit() as it is already handled by ModelTextEdit()

changed indent for SET_DIRTY() in lambda for Choice()

* removed unnecessary SET_DIRTY() for ModelTextEdit() as it is already handled by ModelTextEdit()

changed indent for SET_DIRTY() in lambda for Choice()
2022-10-06 16:39:26 +10:00
richardclliandPeter Feerick 8ba8770e07 fix: TW translation missing line (#2486) 2022-10-06 16:34:59 +10:00
Raphael CoefficandGitHub d6741450f3 fix(color): set current model after label update (#2476)
* fix(color): set current model after label update

Fixes #2460

Here Companion only outputs a more or less empty labels file, so that models are scanned on startup, however not setting the current model properly in this particular case.

* fix(color): bitmap name in modelslist should be zero terminated
2022-10-06 16:10:48 +10:00
Raphael CoefficandGitHub 974c7e39ad fix(lua): Touch events preventing rotary encoder events being detected (#2458)
Fixes #2457
2022-10-03 21:14:17 +10:00
Raphael CoefficandGitHub 3e73d1709d fix(color): various menu toolbar fixes (#2445)
* fix: various toolbar fixes

* chore: Bump `libopenui`
Also pulls in #2446 fix
2022-10-03 13:13:12 +10:00