[apogee] change ppm input frequency

Since the timer used is only 16 bits, this setting (2 ticks per us)
provides a max period of 32 ms between 2 edges and 2000 steps for
reading PPM input on regular RC.
Standard period on Futaba RC is 22 ms.
This commit is contained in:
Gautier Hattenberger
2016-07-15 00:32:03 +02:00
parent b1fd5055b6
commit d1969c8134
@@ -912,8 +912,8 @@
/** /**
* PPM radio defines * PPM radio defines
*/ */
#define RC_PPM_TICKS_PER_USEC 6 #define RC_PPM_TICKS_PER_USEC 2
#define PPM_TIMER_FREQUENCY 6000000 #define PPM_TIMER_FREQUENCY 2000000
#define PPM_CHANNEL ICU_CHANNEL_1 #define PPM_CHANNEL ICU_CHANNEL_1
#define PPM_TIMER ICUD1 #define PPM_TIMER ICUD1