Fork for LoDev

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;