We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0325269 + c594d6e commit bf05317Copy full SHA for bf05317
targets/TARGET_STM/rtc_api.c
@@ -148,9 +148,9 @@ void rtc_init(void)
148
error("RTC initialization failed\n");
149
}
150
151
-#if !(TARGET_STM32F1) && !(TARGET_STM32F2)
+#if !(TARGET_STM32F1) && !(TARGET_STM32F2) && !(STM32L151xB)
152
/* STM32F1 : there are no shadow registers */
153
- /* STM32F2 : shadow registers can not be bypassed */
+ /* STM32F2/STM32L151xB : shadow registers can not be bypassed */
154
if (HAL_RTCEx_EnableBypassShadow(&RtcHandle) != HAL_OK) {
155
error("EnableBypassShadow error\n");
156
0 commit comments