From 41e7ec9ad37a2ff9865411b996a9c0015f820d5f Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 28 Nov 2011 20:34:37 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3543 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/icu_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal/platforms/STM32') diff --git a/os/hal/platforms/STM32/icu_lld.c b/os/hal/platforms/STM32/icu_lld.c index e76f8a109..dfbcee5e6 100644 --- a/os/hal/platforms/STM32/icu_lld.c +++ b/os/hal/platforms/STM32/icu_lld.c @@ -360,7 +360,7 @@ void icu_lld_start(ICUDriver *icup) { icup->tim->ARR = 0xFFFF; /* 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 | TIM_CCMR1_CC2S_1; /* SMCR_TS = 101, input is TI1FP1. -- cgit v1.2.3 From 1965f6c027c2e4ade1f2005d822009b511f346d9 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 29 Nov 2011 07:53:31 +0000 Subject: Removed unnecessary undefs. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3544 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/stm32.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'os/hal/platforms/STM32') diff --git a/os/hal/platforms/STM32/stm32.h b/os/hal/platforms/STM32/stm32.h index 0ee083dcc..c051dafe0 100644 --- a/os/hal/platforms/STM32/stm32.h +++ b/os/hal/platforms/STM32/stm32.h @@ -63,21 +63,6 @@ #include "stm32l1xx.h" #endif -#undef TIM1 -#undef TIM2 -#undef TIM3 -#undef TIM4 -#undef TIM5 -#undef TIM6 -#undef TIM7 -#undef TIM8 -#undef TIM9 -#undef TIM10 -#undef TIM11 -#undef TIM12 -#undef TIM13 -#undef TIM14 - /*===========================================================================*/ /* Driver constants. */ /*===========================================================================*/ -- cgit v1.2.3