mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-14 04:04:34 +00:00
Fix incorrect ERT packet length().
Was returning number of symbols before Manchester decoding. Oops.
This commit is contained in:
parent
f1b45d4e7f
commit
ee1eadce5b
@ -35,7 +35,7 @@ using namespace lpc43xx;
|
|||||||
namespace ert {
|
namespace ert {
|
||||||
|
|
||||||
size_t Packet::length() const {
|
size_t Packet::length() const {
|
||||||
return packet_.size();
|
return decoder_.symbols_count();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Packet::is_valid() const {
|
bool Packet::is_valid() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user