Commit Graph
17278 Commits
Author SHA1 Message Date
Raphael Coeffic fe2266fb70 AFHDS2 and PXX1 serial module drivers 2022-03-20 16:22:12 +01:00
Raphael Coeffic 58ceef6883 Heartbeat does not apply to SIMU 2022-03-20 16:22:12 +01:00
Raphael Coeffic d4f75d43c6 Fix simu heartbeat 2022-03-20 16:22:12 +01:00
Raphael Coeffic e5c852ab37 Fixed some compilation issues 2022-03-20 16:22:12 +01:00
Raphael Coeffic 5fb369f052 X9lite fixes 2022-03-20 16:22:12 +01:00
Raphael Coeffic c26c6b1cbe Fix PXX1 serial external module 2022-03-20 16:22:12 +01:00
Raphael Coeffic a176628db6 Multi internal driver 2022-03-20 16:22:12 +01:00
Raphael Coeffic 19a58558e5 Use void* for pulses 2022-03-20 16:22:12 +01:00
Raphael Coeffic b7523e489b AFHDS2 fixes 2022-03-20 16:22:12 +01:00
Raphael Coeffic 7c05f7295e Taranis external module driver 2022-03-20 16:22:12 +01:00
Raphael Coeffic ffefd0f6dd External serial driver moved to a separate driver 2022-03-20 16:22:12 +01:00
Raphael Coeffic 803b472c85 Move all serial internal module functions into proper drivers 2022-03-20 16:22:12 +01:00
Raphael Coeffic f733810c79 WiP: refactor serial ports 2022-03-20 16:22:12 +01:00
Neil HorneandGitHub 87a3d2f9e7 fix: Companion decode of Act and Telemetry switches (#1708) 2022-03-20 19:18:30 +10:00
Raphael CoefficandGitHub 610326f216 Write 'semver' tag with the current firmware version (#1695)
And remove `version`/`variant`.
2022-03-20 19:18:01 +10:00
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