Driver for the SX1276 RF Transceiver
Dependents: LoRaWAN_actility LoRaWAN_MBED LoRaWANSharedTest
Revision 18:71a47bb03fbb, committed 2015-08-12
- Comitter:
- GregCr
- Date:
- Wed Aug 12 14:34:03 2015 +0000
- Parent:
- 17:99c6e44c1672
- Commit message:
- Change SX1276 function GetState() into GetStatus()
Changed in this revision
diff -r 99c6e44c1672 -r 71a47bb03fbb radio/radio.h --- a/radio/radio.h Fri Jul 10 14:24:45 2015 +0000 +++ b/radio/radio.h Wed Aug 12 14:34:03 2015 +0000 @@ -101,7 +101,7 @@ * * @param status Radio status.[RF_IDLE, RF_RX_RUNNING, RF_TX_RUNNING] */ - virtual RadioState GetState( void ) = 0; + virtual RadioState GetStatus( void ) = 0; /*! * \brief Configures the radio with the given modem
diff -r 99c6e44c1672 -r 71a47bb03fbb sx1276/sx1276.cpp --- a/sx1276/sx1276.cpp Fri Jul 10 14:24:45 2015 +0000 +++ b/sx1276/sx1276.cpp Wed Aug 12 14:34:03 2015 +0000 @@ -109,7 +109,7 @@ SetChannel( initialFreq ); } -RadioState SX1276::GetState( void ) +RadioState SX1276::GetStatus( void ) { return this->settings.State; }
diff -r 99c6e44c1672 -r 71a47bb03fbb sx1276/sx1276.h --- a/sx1276/sx1276.h Fri Jul 10 14:24:45 2015 +0000 +++ b/sx1276/sx1276.h Wed Aug 12 14:34:03 2015 +0000 @@ -126,7 +126,7 @@ * * @param status Radio status. [IDLE, RX_RUNNING, TX_RUNNING] */ - virtual RadioState GetState( void ); + virtual RadioState GetStatus( void ); /*! * @brief Configures the SX1276 with the given modem