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: Nucleo_Private_LoRa
Diff: radio/radio.cpp
- Revision:
- 7:2b555111463f
- Parent:
- 6:e7f02929cd3d
- Child:
- 11:ce0cdab5137a
diff -r e7f02929cd3d -r 2b555111463f radio/radio.cpp
--- a/radio/radio.cpp Thu Sep 04 14:03:20 2014 +0000
+++ b/radio/radio.cpp Fri Sep 19 14:16:35 2014 +0000
@@ -14,8 +14,8 @@
*/
#include "radio.h"
-Radio::Radio( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int8_t rssi, int8_t snr ),
- void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ) )
+Radio::Radio( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ),
+ void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( ) )
{
this->txDone = txDone;
this->txTimeout = txTimeout;
@@ -23,5 +23,6 @@
this->rxTimeout = rxTimeout;
this->rxError = rxError;
this->fhssChangeChannel = fhssChangeChannel;
+ this->cadDone = cadDone;
}