From 1f2e4f81d9716f3ab6fe5bbae22709982147215b Mon Sep 17 00:00:00 2001 From: "Morgan 'ARR\\!' Allen" Date: Wed, 29 Mar 2023 15:57:32 -0700 Subject: [PATCH] revert to more consistent and clear irq checking --- src/LoRa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LoRa.cpp b/src/LoRa.cpp index 5dc9f4f..be4f24e 100644 --- a/src/LoRa.cpp +++ b/src/LoRa.cpp @@ -203,7 +203,7 @@ int LoRaClass::endPacket(bool async) bool LoRaClass::isTransmitting() { - if ((readRegister(REG_OP_MODE) & B111) == MODE_TX) { + if ((readRegister(REG_OP_MODE) & MODE_TX) == MODE_TX) { return true; }