From bc810d5813f8c4038ef73e962df39510af3bc72b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 18 Aug 2012 19:45:46 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4582 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F2xx/stm32_rcc.h | 4 ++-- os/hal/platforms/STM32F4xx/stm32_rcc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/os/hal/platforms/STM32F2xx/stm32_rcc.h b/os/hal/platforms/STM32F2xx/stm32_rcc.h index 2b2051332..30e42197f 100644 --- a/os/hal/platforms/STM32F2xx/stm32_rcc.h +++ b/os/hal/platforms/STM32F2xx/stm32_rcc.h @@ -612,7 +612,7 @@ * * @api */ -#define rccDisableOTG_FS(lp) rccEnableAHB2(RCC_AHB2ENR_OTGFSEN, lp) +#define rccDisableOTG_FS(lp) rccDisableAHB2(RCC_AHB2ENR_OTGFSEN, lp) /** * @brief Resets the OTG_FS peripheral. @@ -637,7 +637,7 @@ * * @api */ -#define rccDisableOTG_HS(lp) rccEnableAHB1(RCC_AHB1ENR_OTGHSEN, lp) +#define rccDisableOTG_HS(lp) rccDisableAHB1(RCC_AHB1ENR_OTGHSEN, lp) /** * @brief Resets the OTG_HS peripheral. diff --git a/os/hal/platforms/STM32F4xx/stm32_rcc.h b/os/hal/platforms/STM32F4xx/stm32_rcc.h index 6418abe81..4f27f935c 100644 --- a/os/hal/platforms/STM32F4xx/stm32_rcc.h +++ b/os/hal/platforms/STM32F4xx/stm32_rcc.h @@ -612,7 +612,7 @@ * * @api */ -#define rccDisableOTG_FS(lp) rccEnableAHB2(RCC_AHB2ENR_OTGFSEN, lp) +#define rccDisableOTG_FS(lp) rccDisableAHB2(RCC_AHB2ENR_OTGFSEN, lp) /** * @brief Resets the OTG_FS peripheral. @@ -637,7 +637,7 @@ * * @api */ -#define rccDisableOTG_HS(lp) rccEnableAHB1(RCC_AHB1ENR_OTGHSEN, lp) +#define rccDisableOTG_HS(lp) rccDisableAHB1(RCC_AHB1ENR_OTGHSEN, lp) /** * @brief Resets the OTG_HS peripheral. -- cgit v1.2.3