mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 04:46:51 +08:00
[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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user