Fix typo in listenModeInterruptHandler method.

When enabling RF69_LISTENMODE_ENABLE we get compile error. Just a small typo.
This commit is contained in:
renno-bih 2020-12-19 09:27:35 +01:00 committed by GitHub
parent e67b39dee5
commit f26d73afe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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