Removed unused YamlRssiSource

This commit is contained in:
Raphael Coeffic
2021-12-31 10:53:10 +01:00
parent 616b271e30
commit d3e619cec4
@@ -246,27 +246,6 @@ struct YamlSwitchWarningState {
}
};
struct YamlRssiSource {
std::string src_str;
YamlRssiSource() = default;
YamlRssiSource(unsigned int cpn_value)
{
if (cpn_value == 0)
src_str.append("none");
else
src_str.append(std::to_string(cpn_value));
}
unsigned int toCpn()
{
if (src_str.find("none") == std::string::npos)
return std::stoul(src_str);
return 0;
}
};
namespace YAML
{
Node convert<TimerData>::encode(const TimerData& rhs)