Commit Graph
3396 Commits
Author SHA1 Message Date
Raphael Coeffic 7ef56c5d60 Throw proper YAML exception instead of std::invalid_argument 2022-01-01 11:57:56 +01:00
Raphael Coeffic e18219f53b backlightMode ON is -4
Seems the field is read as a signed 3 bit integer from `.otx`.
2022-01-01 11:39:17 +01:00
Raphael Coeffic 25ee9369cf Do not convert node to string if not a scalar 2022-01-01 11:36:29 +01:00
Raphael Coeffic ede80e2ebd Fix backlight delay 2021-12-31 17:24:12 +01:00
Raphael Coeffic 0f6c2b0cba Fix GCC warning. 2021-12-31 14:28:40 +01:00
Raphael Coeffic 4a1c44a553 Do not try to parse the model list if it's empty 2021-12-31 14:16:58 +01:00
rotorman 9f6038c4e7 Enable building under MSYS2 2021-12-31 12:47:32 +01:00
Raphael Coeffic f56b462d54 Do not set varioSource to an arbitrary value. 2021-12-31 10:53:12 +01:00
Raphael Coeffic b097593e73 Fix reading models from B&W radio 2021-12-31 10:53:12 +01:00
Raphael Coeffic 6cfecb7ddb Fix output for empty params in custom functions (like "Play track") 2021-12-31 10:53:12 +01:00
Raphael Coeffic 5628391539 Allow yaml-cpp exception to be caught in the loader and set as error
This allows for better debugging: the exception shows where in the file the error has occurred.
2021-12-31 10:53:11 +01:00
Raphael Coeffic 79181d1484 Add model files loading for B&W radios 2021-12-31 10:53:11 +01:00
Raphael Coeffic 3eb55af228 Do not init points to identity function to avoid issues with radio firmware 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 7648dfc544 Do not prompt to use previous version settings when newer version 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic e64f57768a Add board flavour 2021-12-31 10:53:11 +01:00
Raphael Coeffic f965707bdd Fixed write format detection 2021-12-31 10:53:11 +01:00
Raphael Coeffic c9ba1a632b Fixed custom function repeat param (!1x) 2021-12-31 10:53:11 +01:00
Raphael Coeffic a90d89ece6 Remove escaping in negated switches (yaml-cpp does not seem to do it) 2021-12-31 10:53:11 +01:00
Raphael Coeffic 0190b1e19d Fixed reading flight mode data (gvars) 2021-12-31 10:53:11 +01:00
Raphael Coeffic b4a64189b7 Fixed custom functions "play sound" and trainer. 2021-12-31 10:53:11 +01:00
Raphael Coeffic 7b2d7158ff Fixed curve reference in outputs 2021-12-31 10:53:11 +01:00
Raphael Coeffic c4cb491966 Fixed output min/max 2021-12-31 10:53:11 +01:00
Raphael Coeffic 36aaa8d555 Fix GVAR output 2021-12-31 10:53:11 +01:00
Raphael Coeffic af00d03640 Fixed special switches and play value, volume & backlight custom functions 2021-12-31 10:53:11 +01:00
Raphael Coeffic 64287e5654 Fixed flight modes' and logical switches' indexes 2021-12-31 10:53:11 +01:00
Raphael Coeffic ef86a76dd6 Fixed GVAR curve ref 2021-12-31 10:53:11 +01:00
Raphael Coeffic c8cd009ea2 Fix output encoding/decoding 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 03a6e9edc8 Bump Companion settings version to force upgrade of profiles 2021-12-31 10:53:11 +01:00
Raphael Coeffic 0c88f4e52b Small fixes 2021-12-31 10:53:11 +01:00
Raphael Coeffic 282ba2bd5a Fixed switch warnings 2021-12-31 10:53:11 +01:00
Raphael Coeffic a9e1e7d18e Filter out empty topbar data 2021-12-31 10:53:11 +01:00
Raphael Coeffic e56e769d27 Patch .bin filename to .yml 2021-12-31 10:53:11 +01:00
Raphael Coeffic 7e8e5bf554 Fixed metadata in models.yml 2021-12-31 10:53:11 +01:00
Raphael Coeffic 9f348b513e Fix writing model files for radios without categories 2021-12-31 10:53:11 +01:00
Raphael Coeffic a0bc0fd2e1 Use temporary SD card path for all radios using SD card storage 2021-12-31 10:53:11 +01:00
Raphael Coeffic 56ceaebeb8 Use proper switch lookup 2021-12-31 10:53:11 +01:00
Raphael Coeffic 1d2892ee2f Remove some more empty attributes 2021-12-31 10:53:11 +01:00
Raphael Coeffic 2ccbb7f343 Fixed switch, pot & sliders config 2021-12-31 10:53:11 +01:00
Raphael Coeffic 2659abf216 Fixed screen data 2021-12-31 10:53:11 +01:00
Raphael Coeffic 00b6e4faca Fixed FuncReset 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 62028ffcce Fix custom func reset 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 340e7627d5 Fix custom func logs and sounds list 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 7a526a1786 Fix custom func decode play_x 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 47a3d343b5 Fix custom functions decode of func 2021-12-31 10:53:11 +01:00
Raphael Coeffic 9057a6b7f1 Default to YAML for write format 2021-12-31 10:53:11 +01:00
Raphael Coeffic 26ecb10288 Fixed switches index 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 5d8947f19f Fix grouping models by category 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 44146f1e4f Fix decode rawswitch and more encode bools 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic 28fbbfa515 Fix error when no curve points node 2021-12-31 10:53:11 +01:00
elecpowerandRaphael Coeffic ae8b55ae80 Fix adjustRTC encode 2021-12-31 10:53:10 +01:00