diff Small_CPU/Src/rtc.c @ 1000:c386ae6635e4 GasConsumption

Improve GNSS operation: during OSTC 4/5 code merge a problem with the wakeup of the gnss module showed up which has been fixed with the new verion. In addition a compile switch has been added which activated the synchronization of time between OSTC and gnss module. This my cause problems if the time is not accurate => deactivated at the moment.
author Ideenmodellierer
date Mon, 28 Apr 2025 19:51:36 +0200
parents 9b29995d6619
children
line wrap: on
line diff
--- a/Small_CPU/Src/rtc.c	Mon Apr 28 19:47:41 2025 +0200
+++ b/Small_CPU/Src/rtc.c	Mon Apr 28 19:51:36 2025 +0200
@@ -35,6 +35,11 @@
 	HAL_RTC_GetTime(&RTCHandle, pstimestructure, RTC_FORMAT_BIN);
 }
 
+void RTC_GetDate(RTC_DateTypeDef* psdatestructure)
+{
+	HAL_RTC_GetDate(&RTCHandle, psdatestructure, RTC_FORMAT_BIN);
+}
+
 void RTC_SetTime(RTC_TimeTypeDef stimestructure)
 {