summaryrefslogtreecommitdiffstats
path: root/stm32/app/rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm32/app/rtc.c')
-rw-r--r--stm32/app/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm32/app/rtc.c b/stm32/app/rtc.c
index c20bb8d..80a0664 100644
--- a/stm32/app/rtc.c
+++ b/stm32/app/rtc.c
@@ -155,7 +155,7 @@ void rtc_init (void)
rtc_half = BKP_DR7;
#if 1
- rtc_offset.s = 1637490753 + 46850+ 48565+85980;
+ rtc_offset.s = 1637490753 + 46850 + 48565 + 85980;
rtc_offset.ns = 498866999;
bkp_write_off (rtc_offset);
#endif