Peter Feerick
95a55ae8d7
fix: Wrong datastructs used for X9LiteS and XLiteS
2022-01-24 11:09:32 +10:00
Raphael Coeffic
a177264759
Hotfix yaml generator
...
Sorry @stephenaa, it's blocking normal YAML generation right now.
2022-01-22 13:11:31 +01:00
Stephen Mose Aaskov and GitHub
2593bef711
Make compilation on M1 Macs work ( #1383 )
2022-01-21 20:02:37 +10:00
Raphael Coeffic
91a676b64f
Fix compiling with DSM2=OFF and MULTIMODULE=OFF
2022-01-10 16:23:32 +01:00
Raphael Coeffic and Peter Feerick
9afae09f31
Load radio settings before power on delay is evaluated
...
Resolves #1366
2022-01-10 11:10:49 +10:00
Raphael Coeffic and GitHub
d46067fab2
Fix bit mask generation ( #1358 )
...
Avoids overflowing when the bit mask should be 32bits long.
Resolves #1351
2022-01-07 09:36:49 +10:00
Raphael Coeffic
eb1e3078c8
Fix index for negative GVARs
2022-01-01 12:35:29 +01:00
Raphael Coeffic
8e69976dbb
Skip calibration data for invalid analogs
2021-12-31 18:41:59 +01:00
Raphael Coeffic
9f9c3aba01
Add curve ref gvar support
2021-12-31 10:53:11 +01:00
Raphael Coeffic
7a66c3413a
Fixed YAML GVAR based values
2021-12-31 10:53:11 +01:00
Raphael Coeffic
bf41080b57
Fix YAML radio format: outputs GVAR support and small fixes
2021-12-31 10:53:11 +01:00
Raphael Coeffic
1a7e5e3b2b
Fixed setting bit-field members in random order
2021-12-31 10:53:11 +01:00
Raphael Coeffic
c2c23c43d9
Fix parsing last line without CRLF/LF.
...
Check EOF at the end of the buffer.
2021-12-31 10:53:11 +01:00
Raphael Coeffic
91ea5998b7
Translate offset to support gvars
2021-12-31 10:53:09 +01:00
Raphael Coeffic
d98a697aca
Add "board" field and remove a few useless ones
2021-12-31 10:53:09 +01:00
rotorman and Raphael Coeffic
89517d8bd8
Use ETX instead of OTX (also as a file extension).
2021-12-31 10:53:08 +01:00
Raphael Coeffic
20961e460b
Use double quotes around switches to avoid escaping with backslash
...
Escaping with backslash arbitrary characters seems to be an issue with most YAML parsers.
2021-12-31 10:52:20 +01:00
Raphael Coeffic
81d7768498
Fix arbitrary escaping in quoted strings
2021-12-30 14:21:02 +01:00
Raphael Coeffic
587e64f76a
Fix potential YAML format issue by enclosing "def" value in double quotes
2021-12-30 13:55:06 +01:00
Raphael Coeffic
1fa27e89ac
Fixed output of structs inside arrays without indexes
...
This is the case for curves inside mixes, which would previously prevent outputting all attributes following the `curve` attribute: `delayUp`, `delayDown`, `speedUp`, `speedDown` and `name`.
2021-12-29 15:26:25 +01:00
Raphael Coeffic
e51005af2a
Make sure SD card paths exist before converting from EEPROM
2021-12-24 10:34:23 +01:00
Raphael Coeffic
a4c718f6b7
YAML: remove useless constants
2021-12-18 15:25:52 +01:00
Raphael Coeffic
fb8080392c
YAML: properly output calculated sensors
2021-12-18 12:29:34 +01:00
Raphael Coeffic
715beaff0c
Fixed YAML after rebase
2021-12-17 17:11:59 +01:00
Raphael Coeffic
83b676b4dd
Added YAML defs for T-pro
2021-12-17 17:08:49 +01:00
3djc and Raphael Coeffic
d31482c18b
Introduce T-pro and function switches handling
2021-12-17 17:07:48 +01:00
Raphael Coeffic
dffa1e3bef
Fixed YAML after rebase
2021-12-17 15:35:09 +01:00
Raphael Coeffic
0f970c93c9
Zorro YAML
2021-12-17 15:17:49 +01:00
3djc and Raphael Coeffic
6735a42b08
Radiomaster Zorro
...
Port of opentx/opentx#8791
2021-12-17 15:17:48 +01:00
Raphael Coeffic and GitHub
498bc152a3
Merge pull request #1040 from EdgeTX/sw-warnings
2021-12-17 13:05:13 +01:00
Raphael Coeffic and Raphael Coeffic
e854515147
Fix T12 switch definitions
...
The T12 has SG instead of SF.
2021-12-17 12:08:23 +01:00
Raphael Coeffic
710677a1f7
Use existing function to generate switch name in YAML switch warning field
2021-12-17 11:02:51 +01:00
Peter Feerick and Peter Feerick
b2bb0b2f28
[NV14] source_t is now uint16_t
...
Related to #1211
2021-12-14 18:08:42 +10:00
Peter Feerick and Peter Feerick
4e56f524fd
FUNC_SOUNDS, not FUNC_FIRST_WITHOUT_ENABLE
2021-12-14 18:08:42 +10:00
Raphael Coeffic
865cf06b0d
Revamped switch state checking
2021-12-09 09:20:01 +01:00
16fc05ad8e
Fix showing of non-existent pots in warnings group ( #1129 )
...
* pots warning enabled fix
* yaml_generator whitespace
* Fix UART_MODE_DEBUG
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2021-12-07 20:03:28 +11:00
Raphael Coeffic and GitHub
995e41469e
Fixed "lua(...,...)" source ( #1208 )
...
Resolves #1205
2021-12-04 14:37:03 +11:00
Raphael Coeffic and Peter Feerick
66932626d5
YaML: escape exclamation marks to avoid issues with compliant parsers
...
and added some support for reading such escaped characters.
2021-11-28 11:31:47 +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
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
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
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 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
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