mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 03:37:40 +00:00
Extract DecodedSymbol from ManchesterDecoder.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "string_format.hpp"
|
||||
|
||||
ManchesterDecoder::DecodedSymbol ManchesterDecoder::operator[](const size_t index) const {
|
||||
DecodedSymbol ManchesterDecoder::operator[](const size_t index) const {
|
||||
const size_t encoded_index = index * 2;
|
||||
if( (encoded_index + 1) < packet.size() ) {
|
||||
const auto value = packet[encoded_index + sense];
|
||||
|
Reference in New Issue
Block a user