From 71b254924ea39e27bd0106992729e057748db6a1 Mon Sep 17 00:00:00 2001 From: elecpower Date: Thu, 16 Dec 2021 13:03:12 +1100 Subject: [PATCH] RawSwitch timer mode appears to be depreciated --- companion/src/firmwares/edgetx/yaml_rawswitch.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/companion/src/firmwares/edgetx/yaml_rawswitch.cpp b/companion/src/firmwares/edgetx/yaml_rawswitch.cpp index 967dafd13..de83e26b0 100644 --- a/companion/src/firmwares/edgetx/yaml_rawswitch.cpp +++ b/companion/src/firmwares/edgetx/yaml_rawswitch.cpp @@ -64,9 +64,7 @@ std::string YamlRawSwitchEncode(const RawSwitch& rhs) break; case SWITCH_TYPE_TIMER_MODE: - // TODO: - //sw_str += "Tmr"; - //sw_str += std::to_string(sval + 1); + // TODO: check as it appears to be depreciated as not in RawSwitch data model and not in radio yaml export break; default: @@ -137,7 +135,7 @@ RawSwitch YamlRawSwitchDecode(const std::string& sw_str) } // TODO: SWITCH_TYPE_TIMER_MODE - //} else if (sw_str.substr(0, ?) == std::string("????")) { + // check as it appears to be depreciated as not in RawSwitch data model and not in radio yaml export } else { // types which do not use index