Basic MAC data interface for LoRa transceiver
Dependents: LoRaBaseStation LoRaTerminal
Diff: AlohaTransceiver.cpp
- Revision:
- 41:37c1d616a848
- Parent:
- 40:271fa9e98589
--- a/AlohaTransceiver.cpp Wed Sep 14 08:12:26 2016 +0000 +++ b/AlohaTransceiver.cpp Wed Sep 14 08:50:37 2016 +0000 @@ -285,7 +285,7 @@ if (getTxDoneFlag()) { // find next available packet to transmit - while( AlohaTxQueue.getCounter() > 0) + if ( AlohaTxQueue.getCounter() > 0) { // perform CSMA backoff routine if (isBackoff == true) // if the transceiver is already in the backoff state, then wait until timer expires