mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-09-20 16:15:51 +00: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;
|
const size_t sense;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
T operator|(const T& l, const ManchesterDecoder::DecodedSymbol& r) {
|
||||||
|
return l | r.value;
|
||||||
|
}
|
||||||
|
|
||||||
struct ManchesterFormatted {
|
struct ManchesterFormatted {
|
||||||
const std::string data;
|
const std::string data;
|
||||||
const std::string errors;
|
const std::string errors;
|
||||||
|
Loading…
Reference in New Issue
Block a user