Manchester decoded symbol operator| for accessing bit value.

This commit is contained in:
Jared Boone 2015-12-06 15:22:52 -08:00
parent 85ac3fa4ac
commit 5cfd44a546

View File

@ -54,6 +54,11 @@ private:
const size_t sense;
};
template<typename T>
T operator|(const T& l, const ManchesterDecoder::DecodedSymbol& r) {
return l | r.value;
}
struct ManchesterFormatted {
const std::string data;
const std::string errors;