mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04: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 {
|
||||
|
||||
size_t Packet::length() const {
|
||||
return packet_.size();
|
||||
return decoder_.symbols_count();
|
||||
}
|
||||
|
||||
bool Packet::is_valid() const {
|
||||
|
Loading…
Reference in New Issue
Block a user