26 #ifndef RADIO_CONTROL_SUPERBITRF_RC_H
27 #define RADIO_CONTROL_SUPERBITRF_RC_H
29 #include "subsystems/datalink/superbitrf.h"
32 #ifndef RADIO_CONTROL_NB_CHANNEL
33 #define RADIO_CONTROL_NB_CHANNEL 14
36 #if RADIO_CONTROL_NB_CHANNEL > 14
37 #error "RADIO_CONTROL_NB_CHANNEL mustn't be higher than 14. X-Plus channel expansion is not (yet) usable"
41 #ifndef RADIO_THROTTLE
42 #define RADIO_THROTTLE 0
89 #define RADIO_MODE RADIO_GEAR
98 #define RadioControlEvent(_received_frame_handler) radio_control_impl_event(_received_frame_handler)
void radio_control_impl_event(void(*_received_frame_handler)(void))
RC event function with handler callback.