diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-12-01 16:30:21 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-12-01 16:30:21 +0100 |
commit | 126e6ac2073ffb96c3867e7cbdd4e51e8408d0ec (patch) | |
tree | 277f05a93bea57ada888302829f716dc46dd92ef /apps/px4io/safety.c | |
parent | 2bfb6727912e804325e5a512c9c09d36e8fe06d3 (diff) | |
download | px4-firmware-126e6ac2073ffb96c3867e7cbdd4e51e8408d0ec.tar.gz px4-firmware-126e6ac2073ffb96c3867e7cbdd4e51e8408d0ec.tar.bz2 px4-firmware-126e6ac2073ffb96c3867e7cbdd4e51e8408d0ec.zip |
Enabled manual override switch, work in progress. Added initial demix testing code to support delta mixing on the remote for convenient manual override
Diffstat (limited to 'apps/px4io/safety.c')
-rw-r--r-- | apps/px4io/safety.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/px4io/safety.c b/apps/px4io/safety.c index d5bd103c1..916988af1 100644 --- a/apps/px4io/safety.c +++ b/apps/px4io/safety.c @@ -58,7 +58,7 @@ static struct hrt_call failsafe_call; * Count the number of times in a row that we see the arming button * held down. */ -static unsigned counter; +static unsigned counter = 0; #define ARM_COUNTER_THRESHOLD 10 #define DISARM_COUNTER_THRESHOLD 2 |