projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3605e97
)
altoslib: Invalidate GPS new data bit when updating state
author
Keith Packard
<keithp@keithp.com>
Tue, 5 Mar 2013 03:44:30 +0000
(19:44 -0800)
committer
Keith Packard
<keithp@keithp.com>
Tue, 5 Mar 2013 03:44:30 +0000
(19:44 -0800)
Somehow this line got lost when the GPS ground altitude fix was made.
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosState.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosState.java
b/altoslib/AltosState.java
index 32d02f21d1923ba934cb756e7d013196aac3ec6d..5598a60353b9af204dd78634de0200c25d7eeb1c 100644
(file)
--- a/
altoslib/AltosState.java
+++ b/
altoslib/AltosState.java
@@
-205,6
+205,8
@@
public class AltosState {
pad_alt = ground_altitude;
}
+ data.new_gps = false;
+
gps_waiting = MIN_PAD_SAMPLES - npad;
if (gps_waiting < 0)
gps_waiting = 0;