Fork for LoDev

Revision:
64:b721e6ab656a
Parent:
61:08b50780eb91
Child:
65:b2d98328fcba
--- a/sx1276/sx1276-mbed-hal.cpp	Thu Jun 29 19:30:24 2017 +0200
+++ b/sx1276/sx1276-mbed-hal.cpp	Fri Jun 30 16:08:05 2017 +0200
@@ -29,6 +29,7 @@
                             PinName antSwitch, PinName antSwitchTX, PinName antSwitchTXBoost, PinName tcxo)
                             : SX1276( events)
 {
+    Sleep_ms( 10 );
     this->RadioEvents = events;
     boardConnected = board;
     
@@ -362,6 +363,12 @@
     }
 }
 
+void
+SX1276Generic::Sleep_ms(int ms)
+{
+    wait_ms(ms);
+}
+
 bool SX1276Generic::CheckRfFrequency( uint32_t frequency )
 {
     // Implement check. Currently all frequencies are supported