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

Files at this revision

API Documentation at this revision

Comitter:
Helmut Tschemernjak
Date:
Fri Jan 18 15:33:46 2019 +0100
Parent:
117:5b5ad247cc3b
Commit message:
Fixed compiler warnings

Changed in this revision

sx1276/sx1276.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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;