You've already forked arduino-LoRa
mirror of
https://github.com/sandeepmistry/arduino-LoRa.git
synced 2025-08-13 14:42:26 +03:00
revert to more consistent and clear irq checking
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user