Skip to content

Commit cf15081

Browse files
committed
fix-artpi-rtc
1 parent 35672cd commit cf15081

File tree

1 file changed

+2
-2
lines changed
  • bsp/stm32/libraries/HAL_Drivers/drivers

1 file changed

+2
-2
lines changed

bsp/stm32/libraries/HAL_Drivers/drivers/drv_rtc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ static RTC_AlarmTypeDef Alarm_InitStruct = { 0 };
4646
static struct rtc_device_object rtc_device;
4747
static RTC_HandleTypeDef RTC_Handler;
4848

49-
rt_weak uint32_t HAL_RTCEx_BKUPRead(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister)
49+
rt_weak uint32_t HAL_RTCEx_BKUPRead(const RTC_HandleTypeDef *hrtc, uint32_t BackupRegister)
5050
{
5151
return (~BKUP_REG_DATA);
5252
}
5353

54-
rt_weak void HAL_RTCEx_BKUPWrite(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data)
54+
rt_weak void HAL_RTCEx_BKUPWrite(const RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data)
5555
{
5656
return;
5757
}

0 commit comments

Comments
 (0)