aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-05-02 12:28:09 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-05-02 12:28:09 +0000
commit261a2e7e8bfd6f7234f9b4a63a7f029656263165 (patch)
tree8a944f93752b2ed04b241f9ab4ffa32bbffda930 /os/hal/ports/STM32/STM32F4xx/stm32_rcc.h
parent43bbd7c80a69f6d1b40f0baff36d48b3f0c52c8f (diff)
downloadChibiOS-261a2e7e8bfd6f7234f9b4a63a7f029656263165.tar.gz
ChibiOS-261a2e7e8bfd6f7234f9b4a63a7f029656263165.tar.bz2
ChibiOS-261a2e7e8bfd6f7234f9b4a63a7f029656263165.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7936 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx/stm32_rcc.h')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_rcc.h6
1 files changed, 3 insertions, 3 deletions
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)
/** @} */
/**