Commit Graph
3504 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub 8150b00823 fix: [companion] Throttle trace source conversion error (#1401)
Accounts now for EX3 & EX4

Resolves #1398
2022-01-13 11:51:37 +10:00
PaddyandGitHub db392408b9 [companion] Show commit hash and link to github issues in About dialog (#1415)
* Include Git Commit Number into about popup and refferencing to the github commit via link

* Add Link to Create New Issue on Github

* Add Link to Create New Issue on Github
2022-01-12 11:32:06 +10:00
7a628d4c15 fix: Companion read/write of failsafe settings, how displayed on radio (#1399)
* Fix failsafe settings

Resolve #1393

* trigger save if failsafe numbers changed + cleanup

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-11 23:09:55 +10:00
Peter FeerickandPeter Feerick dc8f86700c [companion] fix: only write yaml to radio, not bin 2022-01-10 21:53:29 +10:00
Raphael Coeffic 1c8639baea Fix raw switch index checks (#1403)
Resolves #1403
2022-01-10 12:51:41 +01:00
Raphael Coeffic 22762e0a16 [companion] Properly write String zone option values 2022-01-10 08:32:49 +01:00
Neil HorneandGitHub fcf8fbdfff Companion hardware internal module continued (#1342)
* Add ability to undo hardware internal module change

* Add internal module protocol check on model edit

* Event driven check and update of all models

* Fix model edit dialog searches

* Add OFF to list of internal modules

* Fix internal module protocol list issue #1382
2022-01-10 11:13:21 +10:00
elecpowerandPeter Feerick b41cb2a75a Re-enable custom screens with new themes 2022-01-10 11:11:31 +10:00
Peter FeerickandGitHub 925043f4b3 fix: [companion] Show cause of error if unable to read from radio, scan MODELS dir if models.yml missing
Fallback to model file scanning if models.yml cannot be read
2022-01-10 10:13:40 +10:00
Raphael Coeffic 49e3e00b87 Fix models.yml for empty categories or unsorted models 2022-01-09 16:42:49 +01:00
Raphael Coeffic 67816e0d65 Fix current model index 2022-01-09 16:09:29 +01:00
Raphael Coeffic ff1e5cedc5 Add default category on-the-fly 2022-01-09 10:07:27 +01:00
Raphael Coeffic ef7a5d34c7 Improved errors displayed with corrupted YAML files
When reading directly from the radio's SD card.
2022-01-09 09:10:37 +01:00
Raphael Coeffic 748435fa8f Various small fixes 2022-01-08 17:10:25 +01:00
Neil HorneandGitHub 5aa866acc2 [companion] Remove no longer relevant EEPROM size column heading (#1381) 2022-01-08 11:01:09 +10:00
Raphael CoefficandGitHub 2a509187dd Fix 6POS switch (de-)serialization (#1367) 2022-01-08 08:57:41 +10:00
Raphael Coeffic 01ca714312 Fallback to model file scanning if models.yml cannot be read 2022-01-07 11:52:46 +01:00
Raphael CoefficandGitHub eb90b4a68d YAML Trainer data: iterate through nodes rather than assuming their presence (#1350)
Resolves #1349
2022-01-07 10:32:00 +10:00
Raphael CoefficandGitHub d97afb6f8e Fix switch indexes (#1362)
Resolves #1353
2022-01-07 10:31:37 +10:00
Raphael CoefficandGitHub c7e7443c30 Fix EDGE logical switch (de-)serialization (#1361)
Resolves #1359
2022-01-07 09:45:33 +10:00
Raphael Coeffic d1f56d6dfe Fix special function "enabled"/"repeat" decoding 2022-01-03 09:09:38 +01:00
Raphael Coeffic 7b2f983d04 Fix throttle source shift 2022-01-03 09:08:57 +01:00
Raphael Coeffic 944f98048a Do not include moduledata.h in boards.h
As it is used from the simulator classes, which uses radio source files as well.
2022-01-02 13:31:33 +01:00
elecpowerandRaphael Coeffic 2a13dba411 Set default internal module in profile 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 417c7f1247 Prompt to check all models when harwdare setting changed 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 2797f7d976 Use profile default internal module for new radio files 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic e728560a45 Add default internal module to radio profile 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 592f173a94 Some more generic protocol names 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 926dfdd035 Remove unused code 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic 5f5d3a4e1a Mirror module type description 2022-01-02 13:05:09 +01:00
Raphael CoefficandRaphael Coeffic 5495eac12a Set default internal module in general settings 2022-01-02 13:05:09 +01:00
Raphael CoefficandRaphael Coeffic 8a936af8f4 Add YAML support for internal module setting 2022-01-02 13:05:09 +01:00
Raphael CoefficandRaphael Coeffic 1c823120e4 Use a list of supported internal modules rather than a module by module test 2022-01-02 13:05:09 +01:00
Raphael CoefficandRaphael Coeffic a719b2429f Fixed condition for supported internal module feature 2022-01-02 13:05:09 +01:00
elecpowerandRaphael Coeffic d7190493d5 Add Internal Module to companion 2022-01-02 13:05:09 +01:00
Raphael Coeffic 85a184f15e Catch all exceptions thrown by std::stoi() 2022-01-01 13:51:20 +01:00
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