mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-29 19:51:29 -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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue