summaryrefslogtreecommitdiff
path: root/src/fecmodem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fecmodem.cc')
-rw-r--r--src/fecmodem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fecmodem.cc b/src/fecmodem.cc
index 52271fd..f1b269b 100644
--- a/src/fecmodem.cc
+++ b/src/fecmodem.cc
@@ -50,7 +50,7 @@ uint8_t FECModem::hamming2416(uint8_t *byte1, uint8_t *byte2, uint8_t parity)
uint8_t FECModem::buffer_available()
{
- if (rxWasReset())
+ if (newTransmission())
hammingState = FIRST_BYTE;
if (this->Modem::buffer_available() >= 3)
return 2;