fixed mistakes

This commit is contained in:
Timm Bogner 2023-01-29 20:59:10 -06:00
parent 7c0ed9fe8f
commit 250c7f0f7c

View File

@ -96,7 +96,7 @@ enum
TxLoRa2,
TxLoRaB,
TxIdle
} TxStatus;
} TxStatus = TxIdle;
uint8_t tx_buffer_position = 0;
uint32_t tx_start_time;
@ -532,10 +532,12 @@ void handleLoRa()
asyncReleaseLoRa(false);
enableInterrupt = true;
}
radio.startReceive(); // return to listen mode
enableInterrupt = true;
transmitFlag = false;
else
{
radio.startReceive(); // return to listen mode
enableInterrupt = true;
transmitFlag = false;
}
}
else // the previous operation was reception
{
@ -549,5 +551,3 @@ void handleLoRa()
}
}
#endif // USE_LORA