1111
Fork of SX1276Lib by
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; }