mbed
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32L4/common_objects.h
- Revision:
- 154:37f96f9d4de2
- Parent:
- 153:fa9ff456f731
- Child:
- 156:95d6b41a828b
diff -r fa9ff456f731 -r 37f96f9d4de2 targets/TARGET_STM/TARGET_STM32L4/common_objects.h --- a/targets/TARGET_STM/TARGET_STM32L4/common_objects.h Tue Dec 20 17:27:56 2016 +0000 +++ b/targets/TARGET_STM/TARGET_STM32L4/common_objects.h Wed Jan 04 16:58:05 2017 +0000 @@ -116,5 +116,8 @@ } #endif +/* STM32L4 HAL doesn't provide this API called in rtc_api.c */ +#define __HAL_RCC_RTC_CLKPRESCALER(__RTCCLKSource__) + #endif