Commit Graph
16471 Commits
Author SHA1 Message Date
Jesper FrickmannandGitHub ecf386e71f Fix certain Lua script errors hanging the GUI (#899)
* Fixed a bug where a standalone Lua script w/o a run function will hang the GUI on non-color radios

* Prevent Lua standalone window from opening if Lua failed on load

* Fixed scroll down key in TX12 simulator
Copied key definitions from TX16S

* Fixed the Lua error trying to call nil value when no scripts are loaded.

* I messed up in the previous commit; now it does not freeze and it does not call nil.
2021-10-15 12:03:23 +11:00
eshifriandGitHub b1a41438a3 [NV14] Telemetry fixes, use FlySky RX defaults (#856)
* Port from NV14 repository

* Fix altimeter

* Change AFHDS2A default mode to PWM and iBUS

* Fix datacopy.cpp generation for NV14 Windows build

* Cleanup

* Format

* typo fix

* Sngl for alarm and temperature sensor

* remove temperature sensor
2021-10-15 10:18:03 +11:00
elecpowerandPeter Feerick a62545a674 Merge pull request #8545 from opentx/opentx/fix-8541-trainer 2021-10-14 20:34:53 +11:00
aabce2cf26 Fix 895 (#898)
* Fix 895
  Create directory deployqt/AppRun

* Full path and quotes around paths

* Remove path as full path in variable

Co-authored-by: Runsys16 <rene.negre@orange.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-13 08:24:18 +02:00
Ishay TrattnerandPeter Feerick 38aba6a8cc fix throttle curve wont reset in statistics #841 2021-10-13 16:54:36 +11:00
7928e5bc20 [NV14] Add range check button and power level choice (#857)
* add range and high power to MV14

* remove spaces

* fix compilation

* compilation fix 2

* Whitespace cleanup and placate git

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-13 16:45:52 +11:00
elecpowerandPeter Feerick cf4a23acc6 Enable heli wizard in Companion 2021-10-12 10:11:22 +11:00
Jesper FrickmannandGitHub d3ab7f9c61 Fix LUA=NO, remove ModelMixerScriptsPage when support not enabled (#869)
* Trying to align LUA options with radio/src/CMakeLists.txt
-DLUA=NO:  no Lua of any kind
-DLUA=ON:  everything but mixer scripts
-DLUA=YES: also mixer scripts

* Color LCD with -DLUA=NO is probably a rare combination, so it needed a little help with #defines.

* Some strange error using floor function w/o <math> - probably because -DLUA=NO is not normally used w/ color.
2021-10-11 10:37:06 +11:00
elecpowerandPeter Feerick 313e60b3dd Remove txvoltagecalibration from companion hardware settings 2021-10-11 10:33:01 +11:00
Peter FeerickandPeter Feerick 7d215dd809 Disable MixerScriptsPage if both required flags are not set (#879)
* Disable MixerScriptsPage for 2.5 release builds
Since it doesn't work anyway without LUA=Y

* Only enable tab when both flags set
2021-10-07 19:35:54 +10:00
Peter Feerick 8bb10178d9 Change from PRIMARY2 to PRIMARY1 2021-10-07 18:22:33 +10:00
Peter FeerickandPeter Feerick 2d75eafc4d Make dialog big enough for five option widgets 2021-10-07 10:39:53 +11:00
kkoenig1@optonline.comandPeter Feerick 2c7e175b56 fix comments in yml theme files 2021-10-07 10:38:38 +11:00
kkoenig1@optonline.comandRisto ab9d026f17 fixed case insensitive compare 2021-10-06 16:16:44 +02:00
Peter FeerickandGitHub 088051f3bb Use B&W for poweroff animation (#862)
* Use theme color for poweroff

* Also set animation color

* Changed to black bg, white animation
Per @JimB40 direction 😁
2021-10-06 22:45:33 +11:00
Peter FeerickandGitHub 247d2b0fd8 Statistics page theming + ENTER fix (#872)
* Statistics screen theming
Basically none of the text was using theme colours.

* Formatting

* Use COLOR_THEME_PRIMARY2 for prefixes

* Remove NO_FOCUS stopping reset button from working
Fixes #841
2021-10-06 22:14:49 +11:00
Raphael CoefficandPeter Feerick 03188cd333 [t18/tx18s] add some delay after turning the internal module on
This allows to avoid power supply instabilities.

Resolves #802
2021-10-06 20:21:12 +11:00
Raphael CoefficandPeter Feerick c4dd1c78a0 [nv14] Boot issue fixes
Fixed:
- delay shortened.
- adjusted priority of IRQs used before FreeRTOS is started.

Resolves #863
2021-10-06 16:45:55 +11:00
Peter FeerickandPeter Feerick 63a5160c8b Trim alternate paths 2021-10-06 16:45:32 +11:00
Raphael CoefficandPeter Feerick eebd10dd9a Companion Linux: build AppImage 2021-10-06 16:45:32 +11:00
jfrickmannandPeter Feerick b316a11bba Per discussion on Discord
https://discord.com/channels/839849772864503828/842693696629899274/894878085210574889
2021-10-06 11:42:05 +11:00
f970ab1e66 Fix Lua Mixer Scripts source naming (#842)
* getSourceString() return a correct string for lcdcolor when the source
es a LUA script

* getSourceString() return a formated string with instanceName or
scriptName and outputName

Co-authored-by: Runsys16 <rene.negre@orange.com>
2021-10-05 21:30:20 +11:00
Neil HorneandGitHub adf514fe16 Fix companion model edit image names (#848)
* Fix companion model edit bitmap image names

* Add radio conversion of file extension
2021-10-05 20:33:35 +11:00
elecpowerandPeter Feerick 249db20500 Remove odt file format option from print model 2021-10-05 20:32:42 +11:00
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