From 77a5804ce41ab79f6ece26122694a12d047edfc9 Mon Sep 17 00:00:00 2001 From: Richard Meadows Date: Fri, 9 Oct 2015 18:22:53 +0100 Subject: [PATCH] [Bugfix] Zero out ticks for correct alignment with UTC --- firmware/src/cron.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/src/cron.c b/firmware/src/cron.c index 4276a7b..9ad33c2 100644 --- a/firmware/src/cron.c +++ b/firmware/src/cron.c @@ -134,6 +134,8 @@ void read_gps_time(void) /* TODO calculate epoch time here */ + /* Zero out ticks as we have just set the correct time */ + ticks = 0; } }