Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 118:f2826a8fbff2, committed 2019-01-18
- 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;