Commit Graph
3812 Commits
Author SHA1 Message Date
Peter FeerickandRaphael Coeffic 70f71c8ec8 Remove compiler warning 2022-03-21 11:48:51 +01:00
Peter FeerickandRaphael Coeffic 19b1db7275 Use existing getStringAtIndex as considers length 2022-03-21 11:48:51 +01:00
3djcandRaphael Coeffic 21f776d40c Fixes 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic f426dd1254 Fixes 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic 77b00cd230 typo... 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic f090c599df Add a reminder of internal CRSF speed in model setup 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic 7ec58d06d6 remove warning 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic ab09d0a25f Introduce serial status 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic 0cc2b95b09 Cosmetics 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic c0e6f2a7f9 Compilation fixes 2022-03-21 11:48:49 +01:00
3djcandRaphael Coeffic 6f158663a9 Fixes 2022-03-21 11:45:15 +01:00
3djcandRaphael Coeffic 001144cd5c Ghost module handling 2022-03-21 11:45:15 +01:00
3djcandRaphael Coeffic 97d3c68efc Cosmetics 2022-03-21 11:45:15 +01:00
3djcandRaphael Coeffic db3547d45c POC 2022-03-21 11:43:48 +01:00
Peter Feerick 8aaa78ecbe Only show GPS topbar icon if UART_MODE_GPS active 2022-03-21 13:17:51 +10:00
Raphael Coeffic 4ee41afe5a Disable telemetry input, SBUS trainer and GPS on VCP
This would require an additional rx buffer to support getByte() properly.
2022-03-20 16:30:59 +01:00
Raphael Coeffic ce93ffbe9e Generic serial port config for stdlcd 2022-03-20 16:30:59 +01:00
Raphael Coeffic 1caa0d753c Restrict available UART modes to the feature enabled 2022-03-20 16:30:59 +01:00
Raphael Coeffic 6b9c4fe165 Split UART_MODE_NONE and UART_MODE_DEBUG 2022-03-20 16:30:59 +01:00
Raphael Coeffic e5bb901b1e Fix SBUS trainer defines 2022-03-20 16:30:59 +01:00
Raphael Coeffic de43d7e77c Try to fix the trainer mode mess 2022-03-20 16:30:59 +01:00
Raphael Coeffic 34e9cbb245 Fix AUX serial setting taranis 2022-03-20 16:30:59 +01:00
Raphael Coeffic 074a141d81 UI improvements 2022-03-20 16:30:58 +01:00
Raphael Coeffic 4bdd7e7ea7 GPS support at runtime 2022-03-20 16:30:58 +01:00
Raphael Coeffic b5779f2a6a More generic serial port config 2022-03-20 16:30:58 +01:00
Raphael Coeffic b39baa2360 Use USB VCP as a normal serial driver as well 2022-03-20 16:22:14 +01:00
Raphael Coeffic 530d395204 WiP 2022-03-20 16:22:14 +01:00
Raphael Coeffic d93cd1ea25 Moved aux serial defs to own header file 2022-03-20 16:22:14 +01: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 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 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 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
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
eshifriandGitHub 3efbd6f886 feat: Add "Assign bitmap" to file browser menu to assign model image (#1669) 2022-03-08 10:24:31 +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
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
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
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
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
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
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
Bryan MaylandandGitHub dd672dc0ea fix: Send correct internal CRSF modelid on change for BW screens (#1508) 2022-02-01 11:36:34 +10:00
Peter Feerick b84ab08267 Re-add 5fa929e as was clobbered in #971
Fixes #1527
2022-01-31 15:41:44 +10:00