LoRaWAN-lib-st-murata

Dependents:   DISCO-L072CZ-LRWAN1-base

Fork of LoRaWAN-lib by Semtech

Files at this revision

API Documentation at this revision

Comitter:
mluis
Date:
Wed May 18 11:19:24 2016 +0000
Parent:
5:2477c924494a
Child:
7:c16969e0f70f
Commit message:
Fix GitHub Issue #81

Changed in this revision

LoRaMac.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/LoRaMac.cpp	Wed May 18 11:17:33 2016 +0000
+++ b/LoRaMac.cpp	Wed May 18 11:19:24 2016 +0000
@@ -3610,7 +3610,7 @@
         {
             if( ( LoRaMacState & MAC_TX_DELAYED ) == MAC_TX_DELAYED )
             {
-                status = LORAMAC_STATUS_BUSY;
+                return LORAMAC_STATUS_BUSY;
             }
 
             MlmeConfirm.MlmeRequest = mlmeRequest->Type;