summaryrefslogtreecommitdiffstats
path: root/stm32/app/rtc.c
diff options
context:
space:
mode:
authorroot <root@lumpy.lan>2021-11-27 19:32:49 +0000
committerroot <root@lumpy.lan>2021-11-27 19:32:49 +0000
commitc04969c3a5eff3f73840856f207f204414653da3 (patch)
treed40cd5ce4a28902297bf7349d732f68b2751e4ce /stm32/app/rtc.c
parentf75d0b7eabe275a4330eb72dc4a4c5d2af1fb13d (diff)
downloadmetric_clock-c04969c3a5eff3f73840856f207f204414653da3.tar.gz
metric_clock-c04969c3a5eff3f73840856f207f204414653da3.tar.bz2
metric_clock-c04969c3a5eff3f73840856f207f204414653da3.zip
laptop-to-desktop
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 9c1bc47..c20bb8d 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;
+ rtc_offset.s = 1637490753 + 46850+ 48565+85980;
rtc_offset.ns = 498866999;
bkp_write_off (rtc_offset);
#endif