aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/includes
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-09 19:55:05 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-09 19:55:05 +0200
commit73e1e41de7861fd5dce6dc83984385e3e4617b82 (patch)
tree967e53f65e95cf27370a0fcf1ed1031def41d812 /src/common/includes
parent0b815d3656bf17d757169a830ebd14705f37eb46 (diff)
downloadglutte-o-matic-73e1e41de7861fd5dce6dc83984385e3e4617b82.tar.gz
glutte-o-matic-73e1e41de7861fd5dce6dc83984385e3e4617b82.tar.bz2
glutte-o-matic-73e1e41de7861fd5dce6dc83984385e3e4617b82.zip
Parse GNGGA and print number of SV
Diffstat (limited to 'src/common/includes')
-rw-r--r--src/common/includes/GPS/gps.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/common/includes/GPS/gps.h b/src/common/includes/GPS/gps.h
index ec5ec77..8a2118f 100644
--- a/src/common/includes/GPS/gps.h
+++ b/src/common/includes/GPS/gps.h
@@ -1,7 +1,7 @@
/*
* The MIT License (MIT)
*
- * Copyright (c) 2015 Matthias P. Braendli
+ * Copyright (c) 2016 Matthias P. Braendli
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -40,6 +40,7 @@ void gps_init(void);
// Return 1 of the GPS is receiving time
int gps_locked(void);
-// Get current time from GPS
-// Returns 1 if time is valid, 0 otherwise
-int gps_utctime(struct tm *timeutc);
+// Get current time from GPS and number of satellite vehicles
+// used for fix.
+// Returns 1 if data is valid, 0 otherwise
+int gps_utctime(struct tm *timeutc, int *num_sv_used);