From 450a8fe0c86102a685fa8accde3a9a0aa8a05ae7 Mon Sep 17 00:00:00 2001 From: barthess Date: Tue, 20 Sep 2011 19:35:20 +0000 Subject: [PATCH] EXT lld driver. Fixed according to new naming conventions in stm32f10x.h git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3372 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/ext_lld.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/os/hal/platforms/STM32/ext_lld.c b/os/hal/platforms/STM32/ext_lld.c index 712ed5a39..ee00fb592 100644 --- a/os/hal/platforms/STM32/ext_lld.c +++ b/os/hal/platforms/STM32/ext_lld.c @@ -310,10 +310,10 @@ void ext_lld_start(EXTDriver *extp) { CORTEX_PRIORITY_MASK(STM32_EXT_EXTI10_15_IRQ_PRIORITY)); NVICEnableVector(PVD_IRQn, CORTEX_PRIORITY_MASK(STM32_EXT_EXTI16_IRQ_PRIORITY)); - NVICEnableVector(RTCAlarm_IRQn, + NVICEnableVector(RTC_Alarm_IRQn, CORTEX_PRIORITY_MASK(STM32_EXT_EXTI17_IRQ_PRIORITY)); #if STM32_HAS_USB - NVICEnableVector(USBWakeUp_IRQn, + NVICEnableVector(USB_FS_WKUP_IRQn, CORTEX_PRIORITY_MASK(STM32_EXT_EXTI18_IRQ_PRIORITY)); #endif #if STM32_HAS_OTG1 @@ -369,9 +369,9 @@ void ext_lld_stop(EXTDriver *extp) { NVICDisableVector(EXTI9_5_IRQn); NVICDisableVector(EXTI15_10_IRQn); NVICDisableVector(PVD_IRQn); - NVICDisableVector(RTCAlarm_IRQn); + NVICDisableVector(RTC_Alarm_IRQn ); #if STM32_HAS_USB - NVICDisableVector(USBWakeUp_IRQn); + NVICDisableVector(USB_FS_WKUP_IRQn); #endif #if STM32_HAS_OTG1 NVICDisableVector(OTG_FS_WKUP_IRQn);