Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
Some helper functions to check RC sticks. More...
Go to the source code of this file.
Functions | |
static bool | rc_mode_switch (uint8_t chan, uint8_t pos, uint8_t max) |
RC mode switch position helper switch positions threshold are evenly spaced. More... | |
Some helper functions to check RC sticks.
Definition in file autopilot_rc_helpers.h.
RC mode switch position helper switch positions threshold are evenly spaced.
[in] | chan | RC mode channel number |
[in] | pos | switch position to be tested |
[in] | max | maximum number of position of the switch |
Definition at line 41 of file autopilot_rc_helpers.h.
References MAX_PPRZ, MIN_PPRZ, p, radio_control, RC_OK, RadioControl::status, and RadioControl::values.