From 20d09a291edd504adc6fa44d81916899eb5e5ca3 Mon Sep 17 00:00:00 2001 From: Jean-Claude Wippler Date: Tue, 20 Oct 2015 17:08:27 +0200 Subject: [PATCH] see #84 --- RF69.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RF69.cpp b/RF69.cpp index d8c5c7a7..9c5606ca 100644 --- a/RF69.cpp +++ b/RF69.cpp @@ -168,7 +168,8 @@ uint8_t* recvBuf; uint16_t RF69::recvDone_compat (uint8_t* buf) { switch (rxstate) { case TXIDLE: - rxfill = rf12_len = 0; + //rxfill = rf12_len = 0; + rxfill = rf12_buf[2] = 0; crc = _crc16_update(~0, group); recvBuf = buf; rxstate = TXRECV;