From f26d73afe4ca6eff7f6d5ba370fea9da3af21606 Mon Sep 17 00:00:00 2001 From: renno-bih Date: Sat, 19 Dec 2020 09:27:35 +0100 Subject: [PATCH] Fix typo in listenModeInterruptHandler method. When enabling RF69_LISTENMODE_ENABLE we get compile error. Just a small typo. --- RFM69.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RFM69.cpp b/RFM69.cpp index 25a61df..4634dc9 100644 --- a/RFM69.cpp +++ b/RFM69.cpp @@ -1086,7 +1086,7 @@ void RFM69::listenModeInterruptHandler(void) // We've read the target, and will read the sender id and two time offset bytes for a total of 4 bytes DATALEN = PAYLOADLEN - 4; - SENDERID = spi->transfer(0); + SENDERID = _spi->transfer(0); burstRemaining.b[0] = _spi->transfer(0); // and get the time remaining burstRemaining.b[1] = _spi->transfer(0); RF69_LISTEN_BURST_REMAINING_MS = burstRemaining.l; @@ -1222,4 +1222,4 @@ void RFM69::listenModeSendBurst( uint8_t targetNode, const void* buffer, uint8_t setMode(RF69_MODE_STANDBY); reinitRadio(); } -#endif \ No newline at end of file +#endif