1

Dependencies:   X_NUCLEO_IKS01A1 LoRaWAN-lib SX1276Lib mbed

Revision:
1:80c1daf19aa4
Parent:
0:42863a11464a
Child:
2:78df92a365c2
--- a/app/LoRaEventProc.cpp	Fri Aug 26 19:36:35 2016 +0000
+++ b/app/LoRaEventProc.cpp	Fri Aug 26 20:51:07 2016 +0000
@@ -190,11 +190,10 @@
        Send Packet Immedietly if PC0 = GND
     */  
     case 11: 
-        { 
-            /*
+        {             
             volatile bool PushButtonStatus;
 
-            PushButtonStatus = PC0;
+            PushButtonStatus = UsrButton;
             
             if(PushButtonStatus == 0)
             {
@@ -207,7 +206,7 @@
                 // Keep polling
                 IsTxIntUpdate = true;
             }
-            */
+            
             break;
         }