diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-07-09 13:39:33 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-07-09 13:39:33 +0200 |
commit | 091a4f626f8c6369638a3d54b8b67d9e225673ad (patch) | |
tree | 3e187d781c29affbdd437af090abd3480a4773ad | |
parent | 865a74dd0f02b46c6cc37a5c33314baaf90fa6e2 (diff) |
TIM4 input clock is 72MHz.
-rw-r--r-- | ppmsum.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ void PPMSum::irq() { void PPMSum::enable() { RCC.enable(RCC.TIM4); - TIM4.PSC = 36; + TIM4.PSC = 72; TIM4.CCMR1 = 0x0201; TIM4.SMCR = 0x54; TIM4.CCER = 0x31; |