Commit Graph
8667 Commits
Author SHA1 Message Date
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
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 b06cbe92bf Fix define for AFHDS2
Resolves #791
2021-09-22 09:58:16 +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 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
Raphael Coeffic bc2a0810bd AFHDS2A is not available for external modules 2021-09-19 16:17:47 +02:00
Raphael Coeffic 4a79480e5e Prevent AFHDS2A from being used as an external module
The pulses code for that module does not support it.
2021-09-19 16:17:47 +02:00
Raphael Coeffic f7214862e4 Removed extra debug 2021-09-19 16:17:47 +02:00
Raphael Coeffic 5e091faba4 Fixed ifdefs 2021-09-19 16:17:47 +02:00
Raphael Coeffic e0a8b3d8c3 Added RX options (PWM/PPM, iBUS/SBUS) 2021-09-19 16:17:47 +02:00
Raphael Coeffic 7e3b06bffd Disable range checking mode on AFHDS2A modules (does not work) 2021-09-19 16:17:47 +02:00
Raphael Coeffic f7af8f1e98 Force set AFHDS2A subType on NV14 2021-09-19 16:17:47 +02:00
Raphael Coeffic b0147a43d0 Fixed telemetry 2021-09-19 16:17:47 +02:00
Raphael Coeffic 78d8d976b4 Fixed ifdefs 2021-09-19 16:17:47 +02:00
Raphael Coeffic c374e3369b Send pulses as well.... 2021-09-19 16:17:47 +02:00
Raphael Coeffic 8d46737e56 Remove useless setFlyskyState()
This is already done in resetPulsesAFHDS2()
2021-09-19 16:17:47 +02:00
Raphael Coeffic 0e12166786 Avoid circular header dependencies 2021-09-19 16:17:47 +02:00
Raphael Coeffic e29138f7e3 Draft support internal module NV14 2021-09-19 16:17:47 +02:00
Raphael Coeffic c389000713 Enable pulses for AFHDS2A (avoids WDG reset) 2021-09-19 16:17:47 +02:00
Raphael Coeffic e90c300bf4 Clean-up / renaming MODULE_TYPE_AFHDS3 to MODULE_TYPE_FLYSKY 2021-09-19 16:17:47 +02:00
Raphael CoefficandRaphael Coeffic 366290307a Fixed commit-tests 2021-09-19 14:08:13 +02:00
Raphael CoefficandRisto 68d9162cb4 Make FS hall sticks EXT3 EXT4 optional
As this breaks Companion model editing for now (see issue #758).
2021-09-19 13:49:47 +02:00
Raphael CoefficandGitHub 4c1af2bf36 Merge pull request #755 from EdgeTX/fix-299
Fix max # channels and default channel range
2021-09-18 14:13:48 +02:00
CliffandGitHub 3dedcad75a Category editor (#725)
* Allow model moving between categories

* Initial Commit - Categories Editor

* Don't allow move of active models & save

* Create group for categories, add, remove, delete working.

One glitch on add still...

* allow index choice on tabs page build

* Don't allow setting name null

* Change layout

* Null terminate string + save

* Optionally hide delete button

* Allow add a new model on touch if there are none

* Remove seperator

* Fix compiler warning

* Assign not compare

* Add Translation Strings for Model Categories and Models

* Use translated strings

* Update libopenui

* Add extra newline so scrolls proper

* Update libopenui
2021-09-18 21:21:57 +10:00
Raphael Coeffic ccc83b9d2e Set the record straight on GHST channels 2021-09-18 13:03:51 +02:00
Raphael Coeffic b5da0e164c Add GHST and SBUS to the list of protos with fixed # channels
The end-channel is thus non-editable.
2021-09-18 12:52:03 +02:00
Peter FeerickandGitHub 47dac14b2f Add codename define, update radio version screens and tweak companion (#747)
* Add codename deffine and update all radio version screens

* Move string, make const and formatting

* Missed parentheses around version number

* Add codename to Companion

* Replace edge-tx.org with edgetx.org

* Change EdgeTX website http links to https
Also consistent URL

* Update copyright string
Leave second version for future years
2021-09-18 20:35:31 +10:00
Raphael CoefficandPeter Feerick fd1f6d2f3d [nv14] Fix translation strings used
Strings defined for "x" (shortest) are mostly defined if "LCD_W < 212", which is not the case for the NV14, thus leading to faulty static strings (see TR_VFSWRESET in en.h.txt translation for example).
2021-09-18 19:21:06 +10:00
Raphael Coeffic 9b63f75e1d Fix max # channels and default channel range
Resolves #299
2021-09-18 10:43:55 +02:00
Raphael CoefficandGitHub 734721d824 Merge pull request #746 from pkendall64/fix-baud-rate-defaults
Fix baud rate defaults
2021-09-18 07:12:00 +02:00
Raphael CoefficandPeter Feerick f401cd4a12 [color] use own protocol counter
Overloading the frame counter causes aa race condition with the UI thread (see SEND_FAILSAFE_1S()).
2021-09-18 11:57:23 +10:00
eshifriandGitHub 514796fa51 Support input scaling and show telemetry source values (#745)
* support scale for telemetry sensors
* remove clipRectangle
2021-09-17 20:22:54 +10:00
Raphael Coeffic c2588efbca Prevent proto list to be fetched when started in anything but "normal" mode 2021-09-17 11:15:33 +02:00
Peter FeerickandRaphael Coeffic 4d71f04dbe Update header 2021-09-17 10:44:24 +02:00