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:
Stephen Mose Aaskov
2022-03-16 18:07:26 +10:00
committed by GitHub
co-authored by Raphael Coeffic Peter Feerick
parent 4571c7b724
commit a1e7d70722
39 changed files with 142 additions and 132 deletions
+1 -1
View File
@@ -141,8 +141,8 @@ static bool yaml_output_attr(void* user, uint8_t* ptr, uint32_t bit_ofs,
void* opaque)
{
if (node->type == YDT_NONE) return false;
if (node->type == YDT_PADDING) return true;
if (node->type == YDT_CUSTOM && !node->u._cust_attr.write) return true;
// output tag
if (!wf(opaque, node->tag, node->tag_len)) return false;