test
Dependents: Telemetria_RX_SD_GPS_copy Telemetria_RX_SD_GPS Telemetria_TX Telemetria_TX ... more
Diff: radio/radio.cpp
- Revision:
- 6:e7f02929cd3d
- Parent:
- 0:e6ceb13d2d05
- Child:
- 7:2b555111463f
--- a/radio/radio.cpp Thu Aug 21 11:58:28 2014 +0000 +++ b/radio/radio.cpp Thu Sep 04 14:03:20 2014 +0000 @@ -14,12 +14,14 @@ */ #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 ) ( ) ) +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 ) ) { this->txDone = txDone; this->txTimeout = txTimeout; this->rxDone = rxDone; this->rxTimeout = rxTimeout; this->rxError = rxError; + this->fhssChangeChannel = fhssChangeChannel; }