39 #define PPM_OF_NPS(_nps, _neutral, _min, _max) \
40 ((_nps) >= 0 ? (_neutral) + (_nps) * ((_max)-(_neutral)) : (_neutral) + (_nps) * ((_neutral)- (_min)))
49 RADIO_PITCH_NEUTRAL, \
57 RADIO_THROTTLE_NEUTRAL, \
void ppm_arch_init(void)
Architecture dependant code.
struct NpsRadioControl nps_radio_control
uint16_t ppm_pulses[RADIO_CTL_NB]
volatile bool ppm_frame_available
Generic interface for radio control modules.
#define RADIO_ROLL
Redefining RADIO_* Do not use with radio.h (ppm rc)
void radio_control_feed(void)
#define PPM_OF_NPS(_nps, _neutral, _min, _max)