28 #include "generated/airframe.h"
32 #define OFF_TIMER 5*1 // FIXME: make nicer
33 #define MIN_ARMING_TRIG 1*1 //FIXME: make nicer
59 #if defined ARMING_LED
118 #if defined ARMING_LED
#define RADIO_CONTROL_POWER_OFF
#define RADIO_CONTROL_POWER
Some architecture independent helper functions for GPIOs.
void gpio_setup_output(ioportid_t port, uint16_t gpios)
Setup one or more pins of the given GPIO port as outputs.
#define RADIO_CONTROL_POWER_PIN
void opa_controller_periodic(void)
Rotorcraft Inter-MCU interface.
#define INTERMCU_GET_CMD_STATUS(_bit)
void opa_controller_init(void)
#define INTERMCU_CLR_CMD_STATUS(_bit)
static uint8_t gpio_get(ioportid_t port, uint16_t pin)
Get level of a gpio.
arch independent LED (Light Emitting Diodes) API
bool opa_controller_disarm
void gpio_setup_input(ioportid_t port, uint16_t gpios)
Setup one or more pins of the given GPIO port as inputs.
Whether or not to dis-arm the FBW.