projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altoslib: Reset consecutive GPS count when GPS bad
[fw/altos]
/
ao-tools
/
lib
/
cc-logfile.c
diff --git
a/ao-tools/lib/cc-logfile.c
b/ao-tools/lib/cc-logfile.c
index 88ddda58822ee487da4a7b07a6620bc3b914bb9c..c193b1c7f5ec4f3a3120dfa392898b1d42d90b21 100644
(file)
--- a/
ao-tools/lib/cc-logfile.c
+++ b/
ao-tools/lib/cc-logfile.c
@@
-306,8
+306,8
@@
cc_log_read(FILE *file)
{
struct cc_flightraw *f;
char line[8192];
- double ground_pres;
- int ground_pres_count;
+ double ground_pres
= 0.0
;
+ int ground_pres_count
= 0
;
f = calloc(1, sizeof (struct cc_flightraw));
if (!f)