Fix incorrect ERT packet length().

Was returning number of symbols before Manchester decoding. Oops.
This commit is contained in:
Jared Boone 2015-12-07 15:31:42 -08:00
parent f1b45d4e7f
commit ee1eadce5b

View File

@ -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 {