Helmut Tschemernjak / SX1276GenericLib

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

Files at this revision

API Documentation at this revision

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

radio/radio.h Show annotated file Show diff for this revision Revisions of this file
sx1276/sx1276.cpp Show annotated file Show diff for this revision Revisions of this file
sx1276/sx1276.h Show annotated file Show diff for this revision Revisions of this file
--- 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