Commit Graph
17263 Commits
Author SHA1 Message Date
Bryan MaylandandGitHub 76ae89d2f2 feat: Short press for SYS/MODEL setup on BW screens, long for ModelSelect on colorlcd (#1610)
* Allow short press to SYS/MODEL on BW screens, long for ModelSelect on colorlcd

* T8 navigation style gets short SYS/MODEL presses too
2022-03-19 14:43:57 +10:00
Jesper FrickmannandGitHub ae8585b6f4 fix: Update model image after reading template (#1709) 2022-03-19 13:36:46 +10:00
Peter FeerickandPeter Feerick da482b48b1 fix: Trainer Slave not recognized in Master for ACCESS radios
Fixes #1587
2022-03-18 18:57:58 +10:00
kobatanandGitHub 7ba936bb96 fix: PXX2 radios were initialising default ownerRegistrationID incorrectly 2022-03-18 10:51:43 +10:00
MichaelandGitHub 45731d8577 fix: Numerous updates and fixes for HoTT telemetry (#1617)
* transferred respective OpenTX updates to HoTT telemetry

* integrated LUA function flushAudio from OpenTx

* sensor names moved to “untranslated.h”

reverted *.h.txt to original mainline content
removed leading "Z" in sensor name defines
2022-03-18 10:06:53 +10:00
Peter FeerickandRaphael Coeffic 148262643b fix: Ext mod XJT opts on 128x64 B&W altering int mod settings 2022-03-17 11:33:52 +01:00
Peter Feerick bc70f465bf fix: Companion showing Ghost 12bit checkbox when CROSSFIRE selected 2022-03-17 18:57:29 +10:00
JyeandRaphael Coeffic 6c4135073f decrease MIN_REFRESH_RATE 2022-03-16 17:02:26 +01:00
Peter FeerickandGitHub fe37d428b8 fix: colorlcd "Global" bg image not being loaded at theme change (#1684)
Fixes #1680
2022-03-16 21:21:53 +10:00
Peter FeerickandGitHub 7abc59e626 feat: Pressing power button resets backlight timeout (depending on opts) (#1676)
* Power button resets backlight timer on colorlcd

* Link to backlightMode opt, and not just colorlcd
2022-03-16 21:21:33 +10:00
a1e7d70722 chore: Clean up some issues introduced in #1363
* Clean up some errors introduced in PR #1363

- Cleaning up bad YAML definitions
- Reverted renaming of 'jitterfilter' radio setting in storage/conversions/yaml/ files

* Add a custom attribute to allow for backward compatibility

* Prevent custom attributes without a 'write' function to output a tag

* companion - read but don't write old name

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-03-16 18:07:26 +10:00
4571c7b724 chore: Companion - add support for GHOST 12bit opt (#1689)
* chore: Companion - add support for 12bit GHOST opt
Resolves #1510

* Ghost protocol reading and writing non-yaml formats

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-03-14 11:10:12 +10:00
BatambatamandGitHub 9e6ab84599 feat: TPro - Use function switch leds as charge level indicator when charging
Co-authored-by: Batam <batam@macbook-pro.home>
Port of https://github.com/opentx/opentx/pull/8871
2022-03-13 22:04:15 +10:00
ulfhedlundandRisto 7bf679908b Updated Swedish translations 2022-03-12 20:27:45 +01:00
Peter FeerickandGitHub 9b830ac12e feat: colorlcd - Add channel bar to Output Edit Screen and us values to outputs table on wide displays (#1664)
* feat: Add channel bar to Output Edit Screen
Resolves #1385

* Wide colorlcd, show channel val on outputs table
I've also add commented code for those who want percentage instead of us
2022-03-11 20:05:08 +10:00
Peter FeerickandGitHub 44a1733f0b chore: Touch and Narrow LCD template tweaks (#1675)
* Make the buttons double height so easier to touch

* Add translation strings, add info for blank model

* Wrap STR_NO_TEMPLATES text on narrow screen
2022-03-11 19:31:35 +10:00
Risto 7fae21ea02 Do not enable DMA1_Stream2 IRQ
As there was no Interrupt-Service-Routine defined for FlySky Hall RX DMA (DMA1_Stream2_IRQHandler, IRQ no 13), should not enable the interrupt.
2022-03-10 11:58:31 +01:00
Jesper FrickmannandGitHub dcc5cfb352 feat: Model templates for color radios (update SD card for bundled templates) (#1569)
* Model templates - select and load after Create Model for color radios

* Model templates - save model as template, only for color radios

* Small fix to drawTextLines(...) to handle consecutive spaces

* Change title of button for empty template folder

* I found out why "no trailing slash = important" in path names!

* Reworked file and path name string manipulation
No longer using chdir, as Lua scripts etc. could be messing with the working dir
Use buffers more and std::string less

* Adjusting the size of buffers
I think that I got it right now. Really hard to figure out the right size constants!
Also added storageDirty(EE_MODEL) after reading the template file and renaming the model

* Added storage checks

* Slight simplification - all template buttons are similar

* Added "Blank Model" button

* Wizard Lua script
If there is a Lua script with the same name as the template file in the folder, then it is run after reading the template.
2022-03-09 11:00:38 +10:00
Neil HorneandGitHub e0e196a6e6 feat: Companion - New model curve tab layout, curve edit dialog and mix edit curve view (#1484)
Add curve image and double click to edit to input edit, mix edit and outputs
2022-03-08 13:10:13 +10:00
Neil HorneandGitHub 70a4f6c154 fix: Companion will set critical radio general settings to profile defaults if mismatched boards (#1575)
* Do not import potentially conflicting radio settings

* Revert "Do not import potentially conflicting radio settings"

This reverts commit 06a19c04d6de341568362b87311264081aa3d38f.

* Override critical general settings to defaults when board mismatch
2022-03-08 11:49:34 +10:00
Neil HorneandGitHub f764dfcc2e fix: Serial/telemetry max baud rate wasn't being read/written correctly (#1570) 2022-03-08 11:36:29 +10:00
eshifriandGitHub 3efbd6f886 feat: Add "Assign bitmap" to file browser menu to assign model image (#1669) 2022-03-08 10:24:31 +10:00
eshifriandGitHub c5c142d38d feat: Add NV14 vertical speed sensor derived from CAT01 altitude measurements (#1485)
* Add vertical speed sensor

* fix negative speed problem

* Add averaging time definition
2022-03-06 13:21:03 +10:00
Bryan MaylandandGitHub 348b98d074 fix: On CRSF CRC error, search for second packet embedded (#1533) 2022-03-06 13:02:43 +10:00
c4fa8c1ed4 chore: Updates to CRSF parsing script (#1595)
* Updates to CRSF parsing script

* Additional data input formats
* Support for more CRSF message types
* Support for chunked messages

* Format time to microseconds.  Add inter-packet interval.

Co-authored-by: hexfet <jpublic123@yahoo.com>
2022-03-06 11:41:01 +10:00
Peter FeerickandGitHub c73057ad54 fix: Make showing int MPM spectrum analyser entry runtime determined (#1648)
Showing of the "(int) Spectrum Analyser" determined at build time,
dependent on the default internal module, which is wrong post #1117
Fixes #1647
2022-03-06 11:40:12 +10:00
d1a5c7a819 fix: EM trigger / input focux loss in when editing outputs (#1657)
* handle events on the outputs screen (#1652)

* change background color instead of font color

* Auto formatting only (except for include order)

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-03-06 11:15:58 +10:00
TheIsotopesandGitHub a1fe0b709b fix: B&W 128x64 "check trims" cosmetic in flight modes (#1651) 2022-03-03 10:47:32 +10:00
Peter FeerickandGitHub 2929f1aca9 fix: Disable LUA GV funcs if GVARS=NO build (#1645)
Compile option breakage from #1602
2022-03-01 08:38:20 +10:00
Raphael CoefficandGitHub 0e412000b9 feat: Allow using PXX2 external modules on Zorro (#1622)
Thx to @3djc
2022-02-28 11:10:21 +10:00
zyrenandGitHub 5f09d7fe39 fix: zorro - date and time reset issue (#1643)
Fixes removal of battery or DFU connection causing RTC time and date  to be reset
2022-02-28 11:09:02 +10:00
79e0a212e7 fix: Invalid 'active' state of Sticky LS when no source set (#1430)
* The set/reset switches for a logical switch are only processed if the are valid.

* added coment

* Move / elaborate on comment

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-02-27 11:37:32 +10:00
Jesper FrickmannandGitHub 0391174e06 fix: Lua get/setGlobalVariable not honoring flight mode setting (#1602)
When GV was set to e.g. `FM0` , `setGlobalVariable` would change it to own value. Now it works as it should
2022-02-27 08:46:37 +10:00
eshifriandGitHub f44a8b6a17 feat: Support opening large log files on colorlcd (#1625)
* Remove limit for the TXT file size for color LCD TX (#1612)

* view log files

* warning for long files and load speed-up
2022-02-27 08:42:40 +10:00
rotormanandRisto f7dee48d50 List ProtocolName next to Mode: MULTI (similar to OpenTX). 2022-02-26 10:18:55 +01:00
Hans Christian OlaussenandGitHub 279c308da4 fix: lua error message not always shown (#1604) 2022-02-26 19:18:35 +10:00
Risto 357ae8889f Match GH clang v6.0 2022-02-13 14:52:36 +01:00
Peter FeerickandGitHub 2792ad2fa4 fix: TX12 bootloader contrast too dark, and SE/SF could not be set 3POS (#1548)
* fix: SE and SF could not be set 3POS
*Somebody* (me) forgot ternary operator only compares two value in #1303

* fix: TX12 default contrast is too high
There is no 'perfect' value due to manufacturing variance, but 25 is simply too high,
and 15 a bit too low.
2022-02-12 20:38:55 +10:00
WilhelmandGitHub 67d4a29e31 chore: Replace fixed strings with translation for device-flash-dialogs (#1372)
* replaced fix strings with translations

* additional strings

* replaced wrong german string to english in all but german translations

* fixed spelling
2022-02-11 10:27:05 +10:00
Paul KendallandGitHub c725508876 feat: Add serial passthrough for T-Pro (requires mod documented in #1573)
Add PF11 as boot pin handler
2022-02-11 10:25:13 +10:00
eshifriandGitHub c04a716bce feat: Show channel change direction in the output screen via text color (#1526)
chore: Remove COPROCESSOR

* Show channel direction on the output screens (#1385)

* minor cleanup
2022-02-11 10:23:42 +10:00
Neil HorneandGitHub 407ada00f8 fix: Companion wasn't reading/writing Haptic SF values correctly (#1571) 2022-02-08 12:18:14 +10:00
Neil HorneandGitHub ba93abc30c fix: Companion no longer implies will convert if profile mismatch on read + add board parameter if missing (#1572) 2022-02-08 11:17:32 +10:00
Neil HorneandGitHub 035bd391fb fix: Companion not reading/writing B&W telemetry screens correctly (#1562) 2022-02-08 10:15:08 +10:00
eshifriandGitHub 6d50917eca chore: Simplified version of #1561
* Merge branch 'main' of https://github.com/eshifri/edgetx

* fix SF repeat feield problem (#1539)

* fix: Radio SF repeat value not stopping at first entry when scrolling. Simplified.
2022-02-08 09:54:14 +10:00
Peter FeerickandGitHub 12c6f22145 Cleanup PR template text 2022-02-06 12:43:47 +10:00
Neil HorneandGitHub e94730afc4 fix: Companion not correctly reading/writing trainer settings (#1560) 2022-02-06 11:22:07 +10:00
eshifriandGitHub a156fc4515 fix: Radio SF repeat value not stopping at first entry when scrolling left (#1561)
* Merge branch 'main' of https://github.com/eshifri/edgetx

* fix SF repeat feield problem (#1539)
2022-02-06 11:13:40 +10:00
5a4c6df594 fix: OSK DEF button was not setting Value inputs of mixer scripts correctly (#1536)
* The set/reset switches for a logical switch are only processed if the are valid.

* Revert "The set/reset switches for a logical switch are only processed if the are valid."

This reverts commit c238108415aec39f64ba6bae4c86cfb3ea4713bc.

* fix handling of default values in mixer scripts

* revised the use of default value to be consistent to the past usage

* Limited autoformatting

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-02-04 21:53:14 +10:00
Peter FeerickandGitHub 65ed80aa92 fix: NV14 bootloader navigation not working (#1534) 2022-02-04 10:50:54 +10:00