mirror of
https://github.com/sandeepmistry/arduino-LoRa.git
synced 2025-04-19 13:02:14 +03:00
revert to more consistent and clear irq checking
This commit is contained in:
parent
dcbc9a9995
commit
1f2e4f81d9
@ -203,7 +203,7 @@ int LoRaClass::endPacket(bool async)
|
|||||||
|
|
||||||
bool LoRaClass::isTransmitting()
|
bool LoRaClass::isTransmitting()
|
||||||
{
|
{
|
||||||
if ((readRegister(REG_OP_MODE) & B111) == MODE_TX) {
|
if ((readRegister(REG_OP_MODE) & MODE_TX) == MODE_TX) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user