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

Revision:
114:b7276b4474cc
Parent:
113:7f132cef611d
Child:
118:f2826a8fbff2
--- a/sx1276/sx1276.cpp	Fri Jun 22 11:02:08 2018 +0200
+++ b/sx1276/sx1276.cpp	Fri Jun 22 11:07:18 2018 +0200
@@ -1058,7 +1058,7 @@
 
 void SX1276::SetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time_secs )
 {
-    uint32_t timeout = ( uint32_t )( time * 1e6 );
+    uint32_t timeout = ( uint32_t )( time_secs * 1e6 );
     
     SetChannel( freq );