Browse Source

config_passthrough.cpp

passthrough
Antonio SJ Musumeci 7 months ago
parent
commit
c173259a73
  1. 14
      src/config_passthrough.cpp

14
src/config_passthrough.cpp

@ -27,20 +27,6 @@ Passthrough::to_string() const
BE_Passthrough x = BE_Passthrough::_from_integral(_data); BE_Passthrough x = BE_Passthrough::_from_integral(_data);
return x._to_string(); return x._to_string();
switch(_data)
{
case Passthrough::ENUM::OFF:
return "off";
case Passthrough::ENUM::RO:
return "ro";
case Passthrough::ENUM::WO:
return "wo";
case Passthrough::ENUM::RW:
return "rw";
}
return "invalid";
} }
template<> template<>

Loading…
Cancel
Save