SX1276Lib

Fork of SX1276Lib by Semtech

Revision:
12:aa5b3bf7fdf4
Parent:
8:0fe3e0e8007b
Child:
21:2e496deb7858
diff -r 4a0720f9b7a3 -r aa5b3bf7fdf4 sx1276/sx1276-hal.h
--- a/sx1276/sx1276-hal.h	Tue Sep 30 11:10:24 2014 +0000
+++ b/sx1276/sx1276-hal.h	Mon Oct 13 07:33:11 2014 +0000
@@ -34,12 +34,12 @@
     
 public:
     SX1276MB1xAS( 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 ) ( ),
+                  void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool ChannelActivityDetected ),
             PinName mosi, PinName miso, PinName sclk, PinName nss, PinName reset,
             PinName dio0, PinName dio1, PinName dio2, PinName dio3, PinName dio4, PinName dio5,
             PinName antSwitch ); 
             SX1276MB1xAS( 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 ) ( ) );
+                          void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool ChannelActivityDetected ) );
     virtual ~SX1276MB1xAS( ) { };
     
     protected: