f97e3e77d5
[LUA] Use COLOR_THEME_PRIMARY1 as a default color (text, shapes, etc) ( #1148 )
...
* Use COLOR_THEME_PRIMARY1 as a default lua script color
* second attempt
* redefine DEFAULT as PRIMARY1
* Fixed default lua foreground color
* Revert formatting since file not changed
* Format whole file
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2021-11-27 20:58:36 +11:00
jfrickmann and Peter Feerick
d4b8717575
Added zone.absx and zone.absy to give position of a Lua widget on the screen
2021-11-27 18:18:44 +10:00
Raphael Coeffic and Raphael Coeffic
da36a56dff
Fix reading second delay for single digit (< 1s)
2021-11-27 08:48:34 +01:00
Raphael Coeffic and GitHub
603e5d2646
Merge pull request #1160 from EdgeTX/fix-yaml-gvars
...
Fix YAML for all GVAR adjustements custom functions
2021-11-27 00:28:52 +01:00
Peter Feerick and Peter Feerick
8a77be2328
AUDIO_HELLO before doSplash()
2021-11-27 08:46:47 +10:00
Peter Feerick and Peter Feerick
017ece4caf
Play hello wav before SF and switch checks
2021-11-27 08:46:47 +10:00
Raphael Coeffic
521996df4a
Fixed X10 conversion tests
2021-11-26 18:00:50 +01:00
Raphael Coeffic
06c04c852a
Use symbolic indexes for calibration data
...
Resolves #1083
2021-11-26 17:31:57 +01:00
Raphael Coeffic
5d5ceb4d88
Fix SET_TIMER function
...
Resolves #1130
2021-11-26 13:28:40 +01:00
Peter Feerick
95f853f54e
[libopenui] Fix touch slide intertia
...
Thanks @gagarinlg!
2021-11-26 20:38:53 +10:00
Raphael Coeffic
9a0c65cf04
Fix YAML for all GVAR adjustements custom functions
2021-11-26 08:55:06 +01:00
eshifri and GitHub
907f7306e7
SF Override - fix enable state not working ( #1156 )
2021-11-26 11:17:05 +11:00
eshifri and GitHub
fdb168a999
SF Override - fix extended limits not working ( #1149 )
...
* fix SF override limts #1145
* Cleaner fix for extended limits in SF override
2021-11-26 11:10:11 +11:00
Raphael Coeffic and Raphael Coeffic
d775e75e81
Patched all conversion tests
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
27c0eaf05d
Use loadRadioSettings() as it is sets the default module in g_eeGeneral
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
718b3ec8ec
Fix compiling PXX2 without external module
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
04afb867a0
Fix CMake for empty PCBREV
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
18401a1cbe
Fix NV14
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
daf8bae8e4
Added support for internal module config in stdlcd UI in radio hardware
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
0c305f4237
X9D+ and QX7 ACCESS cannot support swapped internal modules
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
e440038968
Added support for any supported internal module in 128x64 UI
2021-11-25 12:10:16 +01:00
Raphael Coeffic and Raphael Coeffic
ae552bd6fd
WiP: support internal module as a hardware setting
2021-11-25 12:10:16 +01:00
Peter Feerick and Peter Feerick
b3cbf73aa0
Enable lua table for colorlcd, not just horus
2021-11-25 11:18:33 +10:00
6e63d2874b
Theme Editor: Delay initial image load for 500ms to make UI more responsive ( #1143 )
...
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com >
2021-11-25 12:17:33 +11:00
Peter Feerick and GitHub
a05cc887b9
Add touch to Standalone Lua scripts ( #1082 )
...
Touch events to Standalone Lua scripts
2021-11-25 10:49:44 +10:00
Peter Feerick and GitHub
362a8e435f
Add filename to lua model.getInfo() ( #1132 )
...
* Add filename to lua `model.getInfo()`
* Make `getModelNumberStr()` globally available
* Move variable extern
* Move constexpr to header, remove externs
* Perhaps .cpp should include its OWN header
2021-11-25 10:38:51 +11:00
Peter Feerick
78fc55c06d
Fix unthemed text
2021-11-23 21:05:18 +10:00
Raphael Coeffic and Raphael Coeffic
5b1a1c27a9
Make the models list pass YaML linter
2021-11-22 13:23:28 +01:00
Raphael Coeffic and Raphael Coeffic
df4a44274b
Added support for empty spaces within attribute names and double quotes
2021-11-22 13:23:28 +01:00
Raphael Coeffic and Raphael Coeffic
7cccb0e76e
Read model names into models list while converting
2021-11-22 13:23:28 +01:00
Raphael Coeffic and Raphael Coeffic
934f4dadb9
Use double quotes for filename and model names in models list YaML
2021-11-22 13:23:28 +01:00
Raphael Coeffic and Raphael Coeffic
8c688bb6a4
Save models list after changing a model name
...
Resolves #1079
2021-11-22 13:23:28 +01:00
Raphael Coeffic and Raphael Coeffic
9fffb182d7
Added missing "break"
2021-11-22 13:05:11 +01:00
Raphael Coeffic and Raphael Coeffic
fad3ce67a7
Fix attribute comma separation in custom functions
...
Resolves #1122
2021-11-22 13:05:11 +01:00
Raphael Coeffic and Raphael Coeffic
e18e862a88
Move models.yml to its rightful place in case we find it at the old one
2021-11-22 12:52:53 +01:00
Raphael Coeffic and Raphael Coeffic
959f6c18e7
Fall back to /RADIO/models.yml in case /MODELS/models.yml is not present
...
and do not load models.txt unless we are explicitly converting.
2021-11-22 12:52:53 +01:00
Raphael Coeffic and Raphael Coeffic
5290820ada
Move YaML models list to /MODELS
...
Resolves #1073
2021-11-22 12:52:53 +01:00
Peter Feerick and GitHub
6e51c70aa7
Reduce code repetition for sd browser firmware update handling, add some .frsk entries ( #543 )
...
* Hacky port of FRSKY_FIRMWARE_EXT update menu
More work is needed to integrate/test the remaining menu items
May just ba a matter of correct parameters for deviceFirmwareUpdate
* Functionalise, of sorts
* Formatting
* Functionalise more repeated update code
2021-11-22 17:01:22 +11:00
jfrickmann and Peter Feerick
019a1584d0
Monospaced font for digits
...
So timers etc. do not jump back and forth. Assumes that 4 is the widest digit.
2021-11-22 14:49:44 +10:00
dlktdr and Peter Feerick
7005946808
Fix compiler error when Debug_Timers is enabled
...
Lug BG/FG is never used. Only LUA. Removed extra
+ Change my oopsie (model_select.cpp) compiler warning that didn't show up until I started using docker
2021-11-22 13:52:36 +10:00
gagarinlg and Peter Feerick
22112de372
fix touch slide deltaX/deltaY not resetting
2021-11-22 11:44:12 +10:00
ErNis and Raphael Coeffic
3e9a6b79d3
Taranis-based B/W: Initial Contrast fix
2021-11-21 22:43:28 +01:00
Raphael Coeffic and Raphael Coeffic
3ffa531fdd
Fix length of Txx string
...
Resolves #1116
2021-11-21 22:34:53 +01:00
eshifri and Raphael Coeffic
0388734828
Fix converion functionality as well
2021-11-21 22:30:22 +01:00
eshifri and Raphael Coeffic
aabcc4fb6f
Save third value for EDGE LS in YAML
2021-11-21 22:30:22 +01:00
Raphael Coeffic and Raphael Coeffic
916651033c
Fixed mixer scheduler timer overflow
...
The max period is now 50ms, so that it overflows the 16bit timer when set to the max period.
Many thanks to @marianomd for finding the issue and the proposed fix!
2021-11-21 21:53:11 +01:00
Raphael Coeffic
ead357c702
Do not output the YAML files in simu without DEBUG_YAML
2021-11-21 15:55:55 +01:00
kkoenig1@optonline.com and Risto
2c4ec3f3c5
fixed compiler warning as per Ritso
2021-11-21 12:53:31 +01:00
Peter Feerick
a1d279a552
Bump libopenui to for #1077 fix
2021-11-21 20:56:40 +10:00
Raphael Coeffic
cee9b67cc6
Hotfix YAML generator
2021-11-21 11:46:37 +01:00