Commit Graph
17999 Commits
Author SHA1 Message Date
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
Neil HorneandGitHub 44f12ba7f0 feat: Improve searching for previous versions of companion app settings (#1540) 2022-02-04 10:50:22 +10:00
CliffandGitHub 9fc701c131 Listbox multiline selectable (#1549)
* Listbox multiline selectable

* 1. Add check, long press was still calling OnTouchEnd.

2. When deselecting in multiselect focus was not update
3. On long press in multiselect only update focus
2022-02-04 10:36:56 +10:00
Peter Feerick f0077d4f7e fix: cli typo from b2eb299d04 2022-02-02 12:19:50 +10:00
Peter Feerick b2eb299d04 fix: cli rfmod serial output glitch + add err msgs
Thanks to @CapnBry for spotting this ;)
2022-02-02 12:17:26 +10:00
Jesper FrickmannandGitHub b91be18414 feat: Increase resources for Lua widgets (#1498) 2022-02-01 11:37:11 +10:00
Bryan MaylandandGitHub dd672dc0ea fix: Send correct internal CRSF modelid on change for BW screens (#1508) 2022-02-01 11:36:34 +10:00
Jesper FrickmannandGitHub d427817363 fix: Negative GVs being misread and written on transmitter (#1516) 2022-02-01 10:22:26 +10:00
jfrickmannandPeter Feerick 65584ae0d6 Fixed a bug with drawing INVERS + CENTER 2022-01-31 21:33:20 +10:00
Peter Feerick b84ab08267 Re-add 5fa929e as was clobbered in #971
Fixes #1527
2022-01-31 15:41:44 +10:00
Neil HorneandGitHub 8158a8924d fix: Show default names in Companion if switch/source names only spaces (#1524) 2022-01-30 19:06:21 +10:00
Neil HorneandGitHub b865448752 fix: Telemetry "Ignore instances" option being unset by Companion (#1525) 2022-01-30 15:14:33 +10:00
bf931a5097 feat: Add facilty for custom throttle warning position (#1395)
* replace magic number for throttle idle with correct define

* settings for custom throttle warning position

* settings fixed not to break byte-aligment of bit-fields

* evaluate custom throttle warning position

* add requested throttle value to warning text

* comment about field alignment in ModelData struct

* Menu for editing custom throttle warning for 128x64 radios
Tested on RM TX12

* Improoved menu display

* move displayed strings to translation

* translation template added for each language

* support for 212x64 B&W radios

* menu for colorlcd
not tested

* corrected translation entry for TW

* corrected handling of padding bits in ModelData structure

* Companion support for custom throttle warning position

* Rebase catchup

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-30 15:04:40 +10:00
Raphael CoefficandPeter Feerick a052ba63c2 Remove COPROCESSOR 2022-01-29 14:40:17 +10:00
Raphael CoefficandPeter Feerick f9830e1405 Remove PPM_PIN_SERIAL 2022-01-29 14:40:17 +10:00