Skip to content

Commit 1f2e4f8

Browse files
committed
revert to more consistent and clear irq checking
1 parent dcbc9a9 commit 1f2e4f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LoRa.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ int LoRaClass::endPacket(bool async)
203203

204204
bool LoRaClass::isTransmitting()
205205
{
206-
if ((readRegister(REG_OP_MODE) & B111) == MODE_TX) {
206+
if ((readRegister(REG_OP_MODE) & MODE_TX) == MODE_TX) {
207207
return true;
208208
}
209209

0 commit comments

Comments
 (0)