This Library is to establish communication between a transmitter and receivers formed by the combination of SX1272MB2DAS shield and FRDM kl25z board that uses Cortex M0+ architecture.

Fork of SX1272Lib by Semtech

Revision:
5:e90cbf646eb1
Parent:
4:90bd79f1b458
--- a/sx1272/sx1272.cpp	Fri May 13 14:49:34 2016 +0000
+++ b/sx1272/sx1272.cpp	Thu May 19 18:30:44 2016 +0000
@@ -922,6 +922,8 @@
 
 void SX1272::SetOpMode( uint8_t opMode )
 {
+    currentOpMode = opMode; // Update global variable
+    
     if( opMode == RF_OPMODE_SLEEP )
     {
         SetAntSwLowPower( true );