From 261a2e7e8bfd6f7234f9b4a63a7f029656263165 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 2 May 2015 12:28:09 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7936 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F4xx/stm32_rcc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os/hal/ports/STM32/STM32F4xx/stm32_rcc.h') diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h b/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h index 083d08e02..33659dc2c 100644 --- a/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h +++ b/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h @@ -343,7 +343,7 @@ * * @api */ -#define rccEnableDAC1(lp) rccEnableAPB2(RCC_APB1ENR_DACEN, lp) +#define rccEnableDAC1(lp) rccEnableAPB1(RCC_APB1ENR_DACEN, lp) /** * @brief Disables the DAC1 peripheral clock. @@ -352,14 +352,14 @@ * * @api */ -#define rccDisableDAC1(lp) rccDisableAPB2(RCC_APB1ENR_DACEN, lp) +#define rccDisableDAC1(lp) rccDisableAPB1(RCC_APB1ENR_DACEN, lp) /** * @brief Resets the DAC1 peripheral. * * @api */ -#define rccResetDAC1() rccResetAPB2(RCC_APB1RSTR_DACRST) +#define rccResetDAC1() rccResetAPB1(RCC_APB1RSTR_DACRST) /** @} */ /** -- cgit v1.2.3