diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-12-17 18:57:47 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-12-17 18:57:47 +0100 |
commit | 1ed66eae5f45b276d4d39a2827fea3939943844f (patch) | |
tree | fd4b68562cef6d75f65ba6ecb846e5d88dc0ee0a /src | |
parent | f269f35b2692f9f37dbc2535308f117adb5985f9 (diff) | |
download | glutte-o-matic-1ed66eae5f45b276d4d39a2827fea3939943844f.tar.gz glutte-o-matic-1ed66eae5f45b276d4d39a2827fea3939943844f.tar.bz2 glutte-o-matic-1ed66eae5f45b276d4d39a2827fea3939943844f.zip |
Initialise struct tm in gps_monit_task
Diffstat (limited to 'src')
-rw-r--r-- | src/common/src/Core/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/src/Core/main.c b/src/common/src/Core/main.c index 481e686..80e6ce9 100644 --- a/src/common/src/Core/main.c +++ b/src/common/src/Core/main.c @@ -364,7 +364,7 @@ static void gps_monit_task(void __attribute__ ((unused))*pvParameters) { while (1) { - struct tm time; + struct tm time = {0}; int time_valid = local_time(&time); int derived_mode = 0; |