Nucleo-f401re

Dependencies:   SX1276Lib mbed

Fork of SX1276PingPongFHSS by Semtech

Revision:
1:41b10c760ff2
Parent:
0:db48addeabda
Child:
2:b03bdfedfafa
--- a/main.cpp	Fri Sep 19 15:25:35 2014 +0000
+++ b/main.cpp	Tue Sep 23 14:25:25 2014 +0000
@@ -1,6 +1,6 @@
 #include "mbed.h"
+#include "sx1276-hal.h"
 #include "main.h"
-#include "sx1276-hal.h"
 #include "mbed_debug.h"
 
 /* Set this flag to '1' to display debug messages on the console */
@@ -47,7 +47,7 @@
     #error "Please define a modem in the compiler options."
 #endif
 
-#define RX_TIMEOUT_VALUE                                3000000   // in us
+#define RX_TIMEOUT_VALUE                                4000000   // in us
 #define BUFFER_SIZE                                     32        // Define the payload size here
 
 #if( defined ( TARGET_KL25Z ) )
@@ -361,5 +361,5 @@
 void OnFhssChangeChannel( uint8_t channelIndex )
 {
     Radio.SetChannel( HoppingFrequencies[channelIndex] );
-    debug_if( DEBUG_MESSAGE, "-"/*"%d"*/, channelIndex);
+    debug_if( DEBUG_MESSAGE, "F%d-", channelIndex);
 }