Commit Graph
16447 Commits
Author SHA1 Message Date
Raphael CoefficandRisto 155d55dff8 Theme manager: fix paths 2021-10-04 18:51:55 +02:00
rotorman cf7cf79dc3 Compile fix 2021-10-04 16:40:45 +02:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
9cb6d73947 Implementation of Theme Switching and Persistence (#839)
* initial support for color theming using yml files in the THEME directory

* initial theming support using yml files (without yml support)

* fixed issues with themes actually working on radio.

* fix another issue with drive access

* more theme changes.  Added author, and info to display.  Also display an image of  the theme if it is present.

* theme files now support both RGB() and 0x syntax

* quick fix for possible variable overflow.

* more tweaks after JimB tested

* fixed layout issues with NV14 and also added word wrap correctly.

* added edgetx headers to new string functions.

* Whitespace / unused code cleanup

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-04 23:27:08 +11:00
Raphael CoefficandPeter Feerick ba03d02b7a Fixes a race condition on proto list class init between UI and mixer task 2021-10-04 21:52:08 +11:00
Raphael CoefficandPeter Feerick 6684489f01 [colorlcd] make malloc() thread-safe 2021-10-04 21:52:08 +11:00
eshifriandPeter Feerick 6c74af974c When changing widget go directly widget settings 2021-10-04 21:51:47 +11:00
eshifriandPeter Feerick 0cbb14bc11 Increase exit button on the widgets setup page 2021-10-03 12:00:00 +11:00
rotorman 78489a69c0 Removed obsolete CooCox CoOS. 2021-10-02 15:05:21 +02:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
Risto b2d781fd32 Fixes DFU-Util "Unexpected argument" error
Tested under Ubuntu 20.04.1 with dfu-util v0.11
2021-10-02 09:30:37 +02:00
Bryan MaylandandPeter Feerick a04a56c0e7 Reduce USB polling interval for joystick mode from 10ms to 1ms 2021-10-01 11:16:43 +10:00
Bryan MaylandandPeter Feerick 31cb282dd2 Stop using 50ms mixer period when no module enabled
Also adds a 2ms mixer period if internal and external modules are stopped
but joystick mode is active
2021-10-01 11:16:43 +10:00
Raphael CoefficandPeter Feerick 4258684248 Simu: Adjust RTC according to local time on start 2021-10-01 10:50:39 +10:00
Peter FeerickandGitHub e1898475fd Automatically add enhancement label on FRs 2021-10-01 09:59:21 +10:00
Peter Feerick 36ec9356f3 Fix DE and ES translation compilation errors 2021-09-30 22:49:33 +10:00
Neil HorneandGitHub 0872294b36 Fix shift in NV14 switches during cpn import and export (#832) 2021-09-30 21:26:10 +10:00
Peter FeerickandRaphael Coeffic 0e71cb180d Make 'back' hitbox bigger for touch 2021-09-29 19:12:37 +02:00
Raphael CoefficandRaphael Coeffic bb4eedd073 [bw] set multi binding mode only if multimodule 2021-09-29 19:08:17 +02:00
RistoandGitHub b60f7dd37c Bugfix 2021-09-29 19:00:08 +02:00
RistoandGitHub b4fe803f19 DFU-Util v0.10 -> v0.11 2021-09-29 18:59:53 +02:00
Raphael Coeffic aa85002705 companion windows: remove qt styles plugin directory 2021-09-29 18:40:41 +02:00
Raphael Coeffic bf00ad22f6 Fix crash in simu caused by uninitialised pointer if f_opendir() returns an error 2021-09-29 17:20:48 +02:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
2f65ec4c58 Lots of color fixes and screen enhancements (#833)
* consolidated all color fixes and screen enhancements into one new branch

* Bump libopenui

* enhanced telementry sensor display

* fix discover and add sensor buttons on NV14.

* changed quick menu to not use theme colors as per JimB.  Fixed telemetry buttons for NV14

* fix colors on trainer page

* Merge cleanup

* Update libopenui

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-29 22:27:11 +10:00
Peter FeerickandPeter Feerick c0f792c392 Use correct index on 128 B&W radios for MPM status
Fixes #656
2021-09-29 09:12:44 +10:00
Raphael CoefficandRaphael Coeffic 742336450e [color] Fix subType editing & set default channel start + range on change
Resolves #567
2021-09-27 12:24:44 +02:00
Raphael CoefficandRaphael Coeffic 07d0a66368 telemetry driver: clear TC flag before re-enabling TC interrupt
This prevents the USART TC IRQ handler to trigger right after the DMA request has completed, and thus turning the output OFF before the last byte has been transmitted.

Resolves #801
2021-09-27 11:05:27 +02:00
Peter FeerickandPeter Feerick 182bc2355e Fix NV14 Flysky receiver voltage and signal labels 2021-09-26 19:08:55 +10:00
Raphael CoefficandRaphael Coeffic 08b3507d18 [MPM] Sanitized static protocol definition pointer checks 2021-09-26 11:07:57 +02:00
Raphael CoefficandRaphael Coeffic 004989ea57 [color] Move touch panel init to UI task
This allows for the timeout checks in I2C code to work properly as they are based on SysTick IRQ, which is started by FreeRTOS when the scheduler is started.

Resolves #803
2021-09-26 10:29:39 +02: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
Raphael Coeffic 0574f04bde Fixed PCBREV for X10 Express 2021-09-24 18:40:34 +02:00
Peter Feerick ecbe89c0f4 Update libopenui - Fixes #767 2021-09-24 19:35:59 +10:00
Peter FeerickandGitHub 580b9b12bc Add missing audio/haptic when set custom failsafe
Fixes #799
2021-09-23 21:11:34 +10:00
Raphael Coeffic 99048e6389 Pin macOS builds to 10.15
macos-latest is about to change to big sur (11.0).
2021-09-23 09:06:55 +02:00
elecpowerandPeter Feerick 2b3835f567 Remove scale fields artifacts 2021-09-23 09:04:43 +10:00
elecpowerandPeter Feerick 9266ad1f34 Fix model input trims and cosmetic for scale fields 2021-09-22 18:57:27 +10:00
Raphael Coeffic b06cbe92bf Fix define for AFHDS2
Resolves #791
2021-09-22 09:58:16 +02:00
Raphael Coeffic b3da777251 Bumped version to 2.6.0-dev 2021-09-21 08:42:21 +02:00
Raphael Coeffic 982382e164 Aligned / Added 2.5 branch in automatic builds 2021-09-21 08:34:42 +02:00
Raphael CoefficandGitHub 4907ebbf14 Merge pull request #728 from EdgeTX/nv14-internal-module
Nv14 internal module
2021-09-21 08:18:47 +02:00
Peter FeerickandPeter Feerick 482d00d99d Fixes only one column of models
Resolves #636
2021-09-21 16:18:20 +10:00
Peter FeerickandPeter Feerick b62e8c342d Version string on NV14 had unecessary indent 2021-09-21 16:18:20 +10:00
rotormanandRisto 89965ed5b2 Use 32-bit int always. 2021-09-21 08:11:26 +02:00
rotormanandRisto 9570f8595a Removed FlySky digital hall gimbal double value conversion (first using the FlySky factory calibration values min,mid and max to convert to 0 to 4095 and second to convert this value again into EdgeTX internal 11-bit range 0 to 2047).
This has the added benefit of precision increase and also avoiding unnecessary computation. Needed to change to uint32_t, as the jitter removal computation would otherwise go over the 16-bit range. As 16-bit computation can be left for "normal" sticks, added a special define just for FLYSKY_HALL_STICKS.

In addition this PR changes back the radio analogs diagnose page second column also for FlySky digital hall sticks to show +/- 100 again, as now with first and second column we already cover all internal ranges used.

Tested on RM TX16S with FlySky digital hall sticks.
2021-09-21 08:11:26 +02:00
Peter FeerickandPeter Feerick e51ffb110a Replacement icon masks thanks to @JimB40
Resolves #752
2021-09-21 09:01:17 +10:00
Raphael CoefficandPeter Feerick 64a87812bb [color] do not use setValue() in SourceChoice / SwitchChoice
This potentially deletes the source/switch choice, which then triggers a "use-after-free".

Resolves #759
2021-09-20 11:04:11 +10:00
Raphael Coeffic 66b523cf88 Fixed workflow name patterns 2021-09-19 16:55:48 +02:00
Raphael Coeffic f554c12337 Fixed Companion artifacts names 2021-09-19 16:49:44 +02:00
Raphael Coeffic 571465668f Fixed ifdefs for AFHDS2A & AFHDS3 2021-09-19 16:26:10 +02:00
Raphael Coeffic 024934e637 Disable AFHDS3 on NV14 2021-09-19 16:17:47 +02:00