wayne roberts / Mbed OS LoRaWAN_singlechannel_endnode

Dependencies:   SX127x sx12xx_hal TSL2561

Revision:
21:500ff43d8424
Parent:
20:42839629a5dc
diff -r 42839629a5dc -r 500ff43d8424 radio/sx1272/sx1272.cpp
--- a/radio/sx1272/sx1272.cpp	Fri Aug 04 13:23:38 2017 -0700
+++ b/radio/sx1272/sx1272.cpp	Fri Aug 04 17:09:16 2017 -0700
@@ -853,7 +853,7 @@
 
 void SX1272::SetOpMode( uint8_t opMode )
 {
-    if ((opMode == RF_OPMODE_RECEIVER || opMode == RFLR_OPMODE_RECEIVER_SINGLE) /*&& expecting_beacon*/)
+    if ((opMode == RF_OPMODE_RECEIVER || opMode == RFLR_OPMODE_RECEIVER_SINGLE) && expecting_beacon)
         rx_debug_pin = 1;
     else
         rx_debug_pin = 0;