ms2s,STM32 Private
Fork of WakeUp by
Diff: Device/WakeUp_STM_RTC.cpp
- Revision:
- 15:b2a710aca356
- Parent:
- 9:29bdf5fed21a
- Child:
- 17:49d9e3a3e904
--- a/Device/WakeUp_STM_RTC.cpp Wed Jul 30 20:39:57 2014 +0000 +++ b/Device/WakeUp_STM_RTC.cpp Fri Aug 29 05:59:30 2014 +0000 @@ -9,7 +9,7 @@ //Most things are pretty similar between the different STM targets. //Only the IRQ number the alarm is connected to differs. Any errors //with RTC_IRQn/RTC_Alarm_IRQn in them are related to this -#if defined(TARGET_M4) +#if defined(TARGET_M4) || defined(TARGET_M3) #define RTC_IRQ RTC_Alarm_IRQn #else #define RTC_IRQ RTC_IRQn