diff --git a/firmware/application/manchester.hpp b/firmware/application/manchester.hpp index 5e965c854..93d902170 100644 --- a/firmware/application/manchester.hpp +++ b/firmware/application/manchester.hpp @@ -54,6 +54,11 @@ private: const size_t sense; }; +template +T operator|(const T& l, const ManchesterDecoder::DecodedSymbol& r) { + return l | r.value; +} + struct ManchesterFormatted { const std::string data; const std::string errors;