mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 23:09:26 -05:00
Manchester decoded symbol operator| for accessing bit value.
This commit is contained in:
parent
85ac3fa4ac
commit
5cfd44a546
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user