Commit Graph
11863 Commits
Author SHA1 Message Date
philmozandGitHub 662bcb08d0 fix(color): Detect changes to telemetry sensors that return strings (#4071) 2023-09-20 11:40:08 +10:00
philmozandGitHub e4f845c844 chore(radio): Fix some compiler warnings when building firmware (#4058) 2023-09-20 11:16:48 +10:00
Raphael CoefficandPeter Feerick c758e80cb8 fix: T18 has no power switch on AUX2 (#4035) 2023-09-20 11:13:39 +10:00
MichaelandGitHub d30499f19b feat: Add SF to mute audio amplifier on supported radios (#3753)
* SF Audio amplifier mute port to 2.10

* added missing definition STR_SF_DISABLE_AUDIO_AMP

* exclude radios not able to switch audio amp off

* radio/src/storage/yaml/yaml_datastructs_128x64.cpp needs to distinguish between radios with or without switchable audio amps. Expample Zorro vs X9lites

* updated companion and radio language PL

* - added Companion and radio language SE

- removed type unfinished for translated languages

* added radio and companion language JP

* - reverted change to 128x64 yaml_datastructs.h

- moved exclusion of SF DISABLE_AUDIO_AMP based on hw capabilities to UI level

* confused FUNC_ with FUNCTION_

* confused FUNCTION_* with FUNC_*
2023-09-14 19:33:03 +10:00
Frank ZhaoandGitHub 16276d3d15 fix: Compilation error when X9D and USE_RTC_CLOCK=OFF (#4040) 2023-09-14 19:27:08 +10:00
65ee80f159 fix(radio): Fix handling of blank lines in YAML files (#3762)
* Fix handling of blank lines in YAML files.

* Added some basic EOL / blank line unit tests

---------

Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
2023-09-07 21:25:09 +10:00
MichaelandGitHub 73a4a2387e chore: Remove legacy UI for telemetry type (#3782)
* CPN and radio: removed legacy UI for telemetry type

* CPN and radio: removed legacy UI for telemetry type
2023-09-07 21:10:16 +10:00
philmozandGitHub e485db93ca feat(radio): Delay warnings until after splash screen finished (#3887) 2023-09-07 20:33:55 +10:00
c4f1e7127d chores(flysky): Separate AFHDS2A and AFHDS3 into 2 different module type (#3783)
* chores(flysky): separate AFHDS2A and AFHDS3 into 2 different module type

This should allow to remove some of the hacks added earlier.

* chore: Add some EL18 CI bits

* fix(afhds): cmake defs

* fix(ci): add el18 to commit-tests.sh

* chore(cpn): separate AFHDS2A and AFHDS3

* chore(cpn): remove binary import of afhds and legacy fxFreq field for afhds3

* fix(cpn): limit available internal afhds protocols to those supported by hardware

* chore(cpn): update Flysky int module test

* fix(cpn): compile error

* fix(cpn): afhds2a max channels

* fix: TR_MODULE_PROTOCOLS

* enh(cpn): more support for afhds2a and 3

* fix(cpn): rebase compile error

* fix(cpn): bit indexes

* fix(cpn): emi toString

* fix(cpn): limit available internal afhds protocols to those supported by hardware

* enh(cpn): add support for Flysky EL18

* fix(cpn): available protocols

* fix(cpn): rebase moduledata

* chore(cpn): add module fields to model print

* Separate AFHDS2A and AFHDS3 UI settings.

* Fix AFHDS3 conversion from old subtype value.
Fix 'Channel Range' layout on portrait LCD.

* Fix name.

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-09-07 19:24:03 +10:00
HThurenandGitHub 9515d29c9d chore(translation): Updates to Danish translations (#4020) 2023-09-07 16:09:46 +10:00
philmozandGitHub 4d623bb63f chore(radio): Don't save joystick configuration data to EM backup storage (#4022) 2023-09-07 16:07:42 +10:00
philmozandGitHub f55f9c4316 chore(color): Remove unused color bitmap images (#4001) 2023-09-04 18:59:52 +10:00
philmozandGitHub 9f4997caea chore(bw): Reduce FLASH used by 212x64 startup/shutdown animations (#3989)
* Reduce FLASH storage of startup/shutdown animation for 212x64 LCD B&W radios.

* Simplify bitmaps.

* Support drawing animation bitmaps with transparency.
2023-09-04 14:10:50 +10:00
8be8b51813 feat: Surface mode improvements (#3908)
* feat: surface mode improvements

* fix: surface trim display

* fix: HE missing conditional TR_FM

* fix: Also CN,JP & TW for completeness

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-09-04 14:08:35 +10:00
Peter Feerick 56d45fa39b fix(he): #3639 regression, missing TR_RANGE_TEST 2023-09-02 20:22:37 +10:00
Peter FeerickandGitHub e832ef6521 feat(color): enable LUA_MIXER, hidden by default (#3973) 2023-09-01 10:01:47 +02:00
3djcandGitHub 1f44053705 fix: PXX1 external module timings (#3941) 2023-09-01 08:27:48 +02:00
06712d9b97 feat: Interactive/progressive preflight checklist (#3564)
* initial version of clickable checklist

* do not display checkboxes for empty lines if checklist is shorter than screen size

* remove checklist exit after completing it
cannot exit menu from menuTextView as level above there is while loop that cannot be stopped from thic place in code

* menu entry to enable and disable interactive checklist

* only when complete interactive checklist is closed

* config updated & not display checkboxes when entered from "View Notes"

* add setup entry for colorlcd

* do not make interactive checkist when loaded from menu

* fix datastruct size after merge

* Companion support for interactive checklist

* mark checklist lines as non-checkable with '=' for B&W radios

* Process only items visible on screen
This is also crucial when it comes to analyse non-checkable items on a checklist, as in this way there is no need to load non-visible items from SD-card

* WIP fix merge problems

* update yaml datastructs

* restore most functionalities for interactive check lists on color LCD radios
currently no automatic line wrapping and you can always exit the checklist, even when it is not fully done

* finalise interactive checklists for color LCD

* fix: rebase/merge issues

* fix: model setup checklist section

* fix: fix 212 model setup

* Re-work of the some of the color lcd checklist code (#3787)

* Move checklist logic to sub-class.
Show model name instead of file name in title, show 'Preflight checks' in title2 for checklist.
Handle long line wrapping of text.
Don't indent lines without checkbox.
Add 'RTN' button when done.

* Code cleanup.

* Simplify code by storing a list of checkboxes instead of scanning LVGL object hierarchy.

* Indent checkboxes to make touch activation easier.
Keep 'RTN' button visible so last checkbox is further from bottom of screen (for touch activation).
'RTN' button is disabled until checklist complete.

* Add checkbox class constructor for preflight checks.

* Fix checkbox size.

---------

Co-authored-by: Piotr Rzeszut <piotrrze@gmail.com>
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: philmoz <philmoz@users.noreply.github.com>
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-08-29 19:18:39 +10:00
MichaelandGitHub 2d8d2fcf01 feat: MIN constant as a source option (#3639)
* feature request #1635

- added MIN (-MAX -> -1024) as source

* fix rebase

* fix rebase

* change to use language strings for MIN/MAX instead of instance

updated CN and TX language file for MINuse -RESX for MIN instead of magi numbercode cleanup

* updated test sources

* updated JP language

* JP language: changed translation text

* updated HE language translations
2023-08-28 20:16:00 +10:00
3djcandGitHub 78aa381464 fix(radio): YAML timer handling (#3949)
* fix: YAML timer handling

* chore: improve YAML set timer handling

* chore: improve timer handling

* feat: only offer defined timer for set and reset functions

* feat: only offer defined timer for set and reset functions (bw)

* chore: cosmetics
2023-08-28 20:02:03 +10:00
philmozandGitHub e56cffafa9 feat(color): Replace static bitmap QR code with LVGL generated QR code (#3880) 2023-08-28 19:07:59 +10:00
philmozandGitHub dcc2118d19 chore(color): Replace dynamic_cast with virtual functions, disable RTTI to reduce FLASH usage (#3885)
* Replace dynamic_cast with virtual functions and disable RTTI.

* Cleanup TopBar class hierarchy.

* Fix compiler warning.
2023-08-28 12:55:15 +10:00
philmozandGitHub 96d94eeeab feat(color): Show active/configured timers on model setup page (#3972) 2023-08-28 12:15:04 +10:00
RistoandGitHub 0d361b3131 fix: cosmetics, uniform labelling of build options. 2023-08-27 12:06:36 +02:00
philmozandGitHub 7aadf5e3ef fix(color): Slider control blocking RTN key, slider rotEnc activation (#3966)
* Fix for slider control blocking RTN key.

* Fix rotary encoder activation for slider.
2023-08-26 21:18:35 +10:00
MichaelandGitHub c2bebfbbd3 fix: Plurals and indefinite articles in German TTS, plus (#3920)
- fixed no LUA constant for unit dbm
- fixed use plurals and indefinite articles in German TTS
2023-08-26 21:09:41 +10:00
Ulf HedlundandGitHub c66da428be fix: Corrections to SE translations (#3954)
* Corrections for model MPM settings

Some corrections for model MPM settings

* Added a few new translations
2023-08-26 20:54:09 +10:00
philmozandGitHub c1e83c2026 fix(color): Buttons on model setup page not showing active state (#3942) 2023-08-26 20:52:32 +10:00
Preston GuilloryandGitHub d8cfa671e5 fix(lua): Include scale in getInput and insertInput (#3772)
* Include scale in getInput and insertInput

When using telemetry as an input, the scale field is used to convert from a
value with units (like volts or meters) to a percentage. I'd like to modify an
input's scale via Lua script. However this field does not seem to be supported
by the Lua API. This seems like an oversight, so I added it.

* chore: Add scale luadoc
2023-08-26 19:52:22 +10:00
4f20672799 Fix the problem of V0 receiver setting ibus and sbus (#3940)
Co-authored-by: Xy201207 <yaoxu@flysky.com>
2023-08-24 10:22:13 +08:00
RistoandGitHub 4b90e8b001 feat(color): Updated to new Eddie the Edgehog splash (#3852)
* feat(logo): updated 480x272 pixel screen splash to use new EdgeTX logo & mascot
2023-08-20 11:44:57 +02:00
3djcandGitHub 1177891750 fix: simu sd detection (#3936) 2023-08-15 10:19:21 +10:00
3djcandPeter Feerick d2c2fd6426 fix: EM when LUA script is running and radio is turned off (#3926)
* fix: EM when LUA script is running and radio is turned off

* Improve sequencing
2023-08-15 10:18:01 +10:00
3djcandGitHub 58ee2f282d fix: Add missing RTN keys to some simu (#3933) 2023-08-14 12:31:33 +10:00
3djcandGitHub c2d8291e49 feat: Add support for RadioMaster Pocket (#3892)
* RM Pocket support

* Further Pocket changes

* Production readiness

* chore: Consistent formatting

* chore: `ENABLE_SERIAL_PASSTHROUGH` enables `CLI`

* chore: Add to Buddy

* fix: merge wtf
2023-08-14 12:10:22 +10:00
Malte LangermannandGitHub b377a8b5d4 chore: SDIO conversion to HAL (#3182) 2023-08-13 18:56:39 +02:00
3djcandGitHub 3342d21195 feat: improved OLED brightness handling (#3773) 2023-08-12 11:17:50 +02:00
3djcandGitHub f1968f9857 fix: QX7 PCBREV detection (#3922)
Summary of changes:
- PCBREV detection for X7 was disabled as part of early 2.10 work
- It leads to SPORT port not been available on X7
- Once enable, option is back, tested flashing a receiver ok
2023-08-10 15:48:37 +02:00
raphaelcoeffic c089777bd0 fix(boxer): module size 2023-08-10 15:46:21 +02:00
3djcandGitHub ae8e1fff8a fix: Trainer jack initialisation and driver cleanup (#3811) 2023-08-09 21:08:42 +10:00
philmozandGitHub f7037a92b0 chore(color): Model setup page cleanup (#3899)
* Cleanup model setup page code. Make buttons consistent height.

* Remove unused object constructor.
2023-08-09 18:29:59 +10:00
3djcandGitHub f2aade0635 fix: logs not matching user stick mode (#3916) 2023-08-08 17:58:03 +10:00
Raphael CoefficandGitHub e99980f1bf fix(x12s): init periph clocks in ads79xx driver (#3810) 2023-08-08 10:07:07 +10:00
Raphael CoefficandGitHub 017ac82d59 fix: race condition on mixer task handle (#3914)
PR #3451 moved the start of the mixer task to a point in time where the task scheduler is already started (UI task). Before that change, the mixer task would be created before and effectively started after the task scheduler started.

This introduces a race condition on `mixerTaskId.rtos_handle`, as the mixer scheduler might trigger before `xTaskCreateStatic()` returns and the task handle is assigned.

This PR fixes the issue by delaying the start of the mixer scheduler until `xTaskCreateStatic()` returned and the task handler has been properly assigned.
2023-08-07 13:34:38 +02:00
ac4aeef579 chore(color): Use strAppend and strncmp on widgetName to avoid termination issues (#3905)
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-08-05 18:09:53 +10:00
philmozandGitHub 659a25a6cd fix: Fix 'PAGE <' key not working for menu toolbar (#3902) 2023-08-04 21:59:05 +10:00
bd47b491ba fix(color): Fix widget default colors
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-08-04 19:26:49 +10:00
Peter FeerickandGitHub f110bda8e3 fix(AFHDS3): Typo from #3793 2023-08-04 16:14:20 +10:00
richardclliandGitHub c2c9c5a757 fix: Some AFHDS2A/AFHDS3 GPS/ALT telemetry handling issues (#3582)
* Fix widgets vs. sensors (TX16s/FS-IA6B FW2.8.3) and updated meaningful units.

* Updated the GPS sensors to degree unit.

* Fixed a bug in AFHDS2 Alt decoding.

* Fixed a typo.

* Update GPS sensors format.

* Change Long/Lat unit to RAW.
2023-08-04 15:30:10 +10:00
philmozandGitHub 4272a03025 feat(color): Convert top bar display in main view into widgets (#3700)
* Convert radio info (USB, volume, signal strength), date/time and internal GPS display from top bar into widgets.

* Fix B&W build.
2023-08-04 12:14:31 +10:00