SX1276GenericLib to support sx1276 bassed LoRa modules, including HopeRF RFM95, Murata CMWX1ZZABZ and Semtech SX1276MB1MAS/SX1276MB1LAS modules

Dependents:   DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_USB_Rx ... more

Fork of SX1276Lib by Semtech

Revision:
118:f2826a8fbff2
Parent:
114:b7276b4474cc
diff -r 5b5ad247cc3b -r f2826a8fbff2 sx1276/sx1276.cpp
--- a/sx1276/sx1276.cpp	Thu Aug 16 16:21:47 2018 +0200
+++ b/sx1276/sx1276.cpp	Fri Jan 18 15:33:46 2019 +0100
@@ -1082,6 +1082,7 @@
     {
         case MODEM_FSK:
             mtuSize = RX_BUFFER_SIZE;
+			break;
         case MODEM_LORA:
             mtuSize = RX_BUFFER_SIZE;
             break;
@@ -1522,10 +1523,12 @@
                     }
                 }
             }
+        	this->settings.State = RF_IDLE;
+			break;
             case MODEM_FSK:
             default:
         	this->settings.State = RF_IDLE;
-            	break;
+				break;
         }
         default:
             break;