projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Support 32-bit ihx files
[fw/altos]
/
altoslib
/
AltosState.java
diff --git
a/altoslib/AltosState.java
b/altoslib/AltosState.java
index a3b9a8c07efafdb54f889094c09e1b7ba6a505f9..ccbe498d5ca34dedaa3ee7be58512955f93e16d2 100644
(file)
--- a/
altoslib/AltosState.java
+++ b/
altoslib/AltosState.java
@@
-252,8
+252,7
@@
public class AltosState {
range = -1;
gps_height = 0;
if (data.gps != null) {
range = -1;
gps_height = 0;
if (data.gps != null) {
- if (gps == null || !gps.locked || data.gps.locked)
- gps = data.gps;
+ gps = data.gps;
if (ngps > 0 && gps.locked) {
double h = height;
if (ngps > 0 && gps.locked) {
double h = height;