git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3543 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
e5ce81050f
commit
41e7ec9ad3
|
@ -360,7 +360,7 @@ void icu_lld_start(ICUDriver *icup) {
|
||||||
icup->tim->ARR = 0xFFFF;
|
icup->tim->ARR = 0xFFFF;
|
||||||
|
|
||||||
/* CCMR1_CC1S = 01 = CH1 Input on TI1.
|
/* CCMR1_CC1S = 01 = CH1 Input on TI1.
|
||||||
CCMR1_CC2S = 10 = CH2 Input on TI2.*/
|
CCMR1_CC2S = 10 = CH2 Input on TI1.*/
|
||||||
icup->tim->CCMR1 = TIM_CCMR1_CC1S_0 |
|
icup->tim->CCMR1 = TIM_CCMR1_CC1S_0 |
|
||||||
TIM_CCMR1_CC2S_1;
|
TIM_CCMR1_CC2S_1;
|
||||||
/* SMCR_TS = 101, input is TI1FP1.
|
/* SMCR_TS = 101, input is TI1FP1.
|
||||||
|
|
Loading…
Reference in New Issue