LoRa node acquiring analog input and sending to LoRa Server - Working ok
Dependents: DISCO-L072CZ-LRWAN1_LoRa_node EIoT_LoRa_node_1 EIoT_LoRa_node_2 EIoT_LoRa_node_3
Fork of SX1276GenericLib by
Diff: sx1276/sx1276.cpp
- Revision:
- 114:b7276b4474cc
- Parent:
- 113:7f132cef611d
diff -r 7f132cef611d -r b7276b4474cc sx1276/sx1276.cpp --- 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 );