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.
1 parent 35672cd commit cf15081Copy full SHA for cf15081
bsp/stm32/libraries/HAL_Drivers/drivers/drv_rtc.c
@@ -46,12 +46,12 @@ static RTC_AlarmTypeDef Alarm_InitStruct = { 0 };
46
static struct rtc_device_object rtc_device;
47
static RTC_HandleTypeDef RTC_Handler;
48
49
-rt_weak uint32_t HAL_RTCEx_BKUPRead(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister)
+rt_weak uint32_t HAL_RTCEx_BKUPRead(const RTC_HandleTypeDef *hrtc, uint32_t BackupRegister)
50
{
51
return (~BKUP_REG_DATA);
52
}
53
54
-rt_weak void HAL_RTCEx_BKUPWrite(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data)
+rt_weak void HAL_RTCEx_BKUPWrite(const RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data)
55
56
return;
57
0 commit comments