chore: Clean up some issues introduced in #1363
* Clean up some errors introduced in PR #1363 - Cleaning up bad YAML definitions - Reverted renaming of 'jitterfilter' radio setting in storage/conversions/yaml/ files * Add a custom attribute to allow for backward compatibility * Prevent custom attributes without a 'write' function to output a tag * companion - read but don't write old name Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
Raphael Coeffic
Peter Feerick
parent
4571c7b724
commit
a1e7d70722
@@ -359,7 +359,8 @@ bool convert<GeneralSettings>::decode(const Node& node, GeneralSettings& rhs)
|
||||
node["bluetoothBaudrate"] >> rhs.bluetoothBaudrate;
|
||||
node["bluetoothMode"] >> bluetoothModeLut >> rhs.bluetoothMode;
|
||||
node["countryCode"] >> rhs.countryCode;
|
||||
node["noJitterFilter"] >> rhs.noJitterFilter;
|
||||
node["jitterFilter"] >> rhs.noJitterFilter; // PR1363 : read old name and
|
||||
node["noJitterFilter"] >> rhs.noJitterFilter; // new, but don't write old
|
||||
node["disableRtcWarning"] >> rhs.rtcCheckDisable; // TODO: verify
|
||||
node["keysBacklight"] >> rhs.keysBacklight;
|
||||
node["imperial"] >> rhs.imperial;
|
||||
|
||||
Reference in New Issue
Block a user