Changed low threshold in px4io firmware to 10% to ensure compatibility with user configured single channel, mode switches

This commit is contained in:
TickTock-
2014-05-09 15:17:38 -07:00
parent fc4c4c0bd1
commit 559c62b6bc
+2 -2
View File
@@ -47,8 +47,8 @@
#include "px4io.h"
#define RC_FAILSAFE_TIMEOUT 2000000 /**< two seconds failsafe timeout */
#define RC_CHANNEL_HIGH_THRESH 5000
#define RC_CHANNEL_LOW_THRESH -5000
#define RC_CHANNEL_HIGH_THRESH 5000 /* 75% threshold */
#define RC_CHANNEL_LOW_THRESH -8000 /* 10% threshold */
static bool ppm_input(uint16_t *values, uint16_t *num_values, uint16_t *frame_len);