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.
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
Revision 113:7f132cef611d, committed 2018-06-22
- Comitter:
- Helmut Tschemernjak
- Date:
- Fri Jun 22 11:02:08 2018 +0200
- Parent:
- 112:ba1fca7de76e
- Child:
- 114:b7276b4474cc
- Commit message:
- Renamed SetTxContinuousWave duration variable to time_secs
Changed in this revision
--- a/radio/radio.h Mon Jun 11 14:48:18 2018 +0200
+++ b/radio/radio.h Fri Jun 22 11:02:08 2018 +0200
@@ -414,7 +414,7 @@
* @param [IN]: power Sets the output power [dBm]
* @param [IN]: time Transmission mode timeout [s]
*/
- virtual void SetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time ) = 0;
+ virtual void SetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time_secs ) = 0;
/*!
* @brief Returns the maximal transfer unit for a given modem
--- a/sx1276/sx1276.cpp Mon Jun 11 14:48:18 2018 +0200
+++ b/sx1276/sx1276.cpp Fri Jun 22 11:02:08 2018 +0200
@@ -1056,7 +1056,7 @@
}
}
-void SX1276::SetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time )
+void SX1276::SetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time_secs )
{
uint32_t timeout = ( uint32_t )( time * 1e6 );
--- a/sx1276/sx1276.h Mon Jun 11 14:48:18 2018 +0200
+++ b/sx1276/sx1276.h Fri Jun 22 11:02:08 2018 +0200
@@ -370,7 +370,7 @@
* @param [IN]: time Transmission mode timeout [s]
*/
- virtual void SetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time );
+ virtual void SetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time_secs );
/*!
* @brief Returns the maximal transfer unit for a given modem

