1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00
betaflight/src/flight_common.c
Dominic Clifton e969d184e6 decouple failsafe from the rest of the system.
Note: the pwm_common driver has a dependency on the main failsafe code,
the solution is probably to move some of the code into rx_pwm.
2014-04-21 00:46:16 +01:00

13 lines
169 B
C

#include "board.h"
#include "mw.h"
#include "runtime_config.h"
#include "flight_common.h"
void mwDisarm(void)
{
if (f.ARMED)
f.ARMED = 0;
}