diff --git a/companion/src/firmwares/edgetx/yaml_rawsource.cpp b/companion/src/firmwares/edgetx/yaml_rawsource.cpp index 2e32bcf3c..89b6df13a 100644 --- a/companion/src/firmwares/edgetx/yaml_rawsource.cpp +++ b/companion/src/firmwares/edgetx/yaml_rawsource.cpp @@ -108,7 +108,7 @@ RawSource YamlRawSourceDecode(const std::string& src_str) if (idx < CPN_MAX_INPUTS) { rhs = RawSource(SOURCE_TYPE_VIRTUAL_INPUT, idx); } - } else if (val_len >= 2 + } else if (val_len == 2 && val[0] == 'S' && val[1] >= 'A' && val[1] <= 'Z') {