Commit Graph
16479 Commits
Author SHA1 Message Date
RistoandGitHub 28e201bd5e Added optional --pause argument 2021-10-19 22:46:55 +02:00
RistoandGitHub 95d531479a Allow --pause argument 2021-10-19 22:44:03 +02:00
RistoandGitHub 563f4f2a44 MSYS2 build environment second stage 2021-10-19 22:33:49 +02:00
RistoandGitHub fd90ecac82 MSYS2 Stage 1 build environment setup script 2021-10-19 22:32:30 +02:00
RistoandGitHub 38bddca9f7 MSYS2 Python Build requirements 2021-10-19 21:53:07 +02:00
Jesper FrickmannandGitHub 69a465f0e2 Remove all radio predefined colors except BLACK and WHITE (#882)
* Removed all "Basic color definitions" except BLACK and WHITE in colors.h
Please ref. discussion on Discord: https://discord.com/channels/839849772864503828/839856795781431317/895858311579181066

* Removed theme color from the bootloader and replaced by RGB() like for e.g. green.

* Wrong color in Value widget default background color; should be white, not black
2021-10-16 22:34:31 +11:00
Raphael CoefficandPeter Feerick d77ff2f4e9 Do not use FreeRTOS functions as long as the scheduler is not started
Otherwise interrupts with a logical priority lower than configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY are masked after the first call to xTaskResumeAll() (after the first critical section is entered, and never released).
2021-10-15 21:40:01 +11:00
520eac3e4f Format times better for timer widget and statistics times (#896)
* Fix widget timer.
Modifie getStrString() for  using hms

* Timer over blink with COLOR_THEME_WARNING
Timer unit in uppercase

* Use lowercase unit with small timer display, use uppercase unit in large
display

* Auto formatting

Co-authored-by: Runsys16 <rene.negre@orange.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-15 21:32:24 +11:00
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