Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
#include "servo_switch/servo_switch.h"
#include "generated/airframe.h"
#include "subsystems/actuators.h"
Go to the source code of this file.
Macros | |
#define | _ServoSwitch(_n, _v) ActuatorSet(_n, _v) |
#define | ServoSwitch(_n, _v) _ServoSwitch(_n, _v) |
Functions | |
void | servo_switch_init (void) |
void | servo_switch_periodic (void) |
Variables | |
bool_t | servo_switch_on |
#define _ServoSwitch | ( | _n, | |
_v | |||
) | ActuatorSet(_n, _v) |
Definition at line 29 of file servo_switch.c.
#define ServoSwitch | ( | _n, | |
_v | |||
) | _ServoSwitch(_n, _v) |
Definition at line 30 of file servo_switch.c.
Referenced by servo_switch_periodic().
void servo_switch_init | ( | void | ) |
Definition at line 32 of file servo_switch.c.
References FALSE, servo_switch_on, and servo_switch_periodic().
void servo_switch_periodic | ( | void | ) |
Definition at line 38 of file servo_switch.c.
References SERVO_SWITCH_OFF_VALUE, servo_switch_on, SERVO_SWITCH_ON_VALUE, SERVO_SWITCH_SERVO, ServoSwitch, and TRUE.
Referenced by servo_switch_init().
bool_t servo_switch_on |
Definition at line 26 of file servo_switch.c.
Referenced by servo_switch_init(), and servo_switch_periodic().