projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ea8c9ca
)
altoslib: Don't lose gps_height value between GPS samples
author
Keith Packard
<keithp@keithp.com>
Sat, 25 Jan 2014 06:43:25 +0000
(22:43 -0800)
committer
Keith Packard
<keithp@keithp.com>
Sat, 25 Jan 2014 06:43:25 +0000
(22:43 -0800)
gps_height is now reliably updated whenever GPS altitude data is
received, so don't try to reset it between samples.
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 6d52dc40619931ca4ede8b8bae651d8c8f0115df..758fd6366b7b7f40d1b3967bcc24bdcb8f4d9313 100644
(file)
--- a/
altoslib/AltosState.java
+++ b/
altoslib/AltosState.java
@@
-838,7
+838,6
@@
public class AltosState implements Cloneable {
void update_gps() {
elevation = 0;
range = -1;
- gps_height = 0;
if (gps == null)
return;