projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Use first pressure value if no ground pressure available
[fw/altos]
/
altoslib
/
AltosMapStore.java
diff --git
a/altoslib/AltosMapStore.java
b/altoslib/AltosMapStore.java
index 7cce05a594c7eccb8008aaaca85c68357d97f76b..460c52b628ec4094a133cae4b1796dc8b3f4eee2 100644
(file)
--- a/
altoslib/AltosMapStore.java
+++ b/
altoslib/AltosMapStore.java
@@
-91,6
+91,7
@@
public class AltosMapStore {
static Object forbidden_lock = new Object();
static long forbidden_time;
static boolean forbidden_set;
static Object forbidden_lock = new Object();
static long forbidden_time;
static boolean forbidden_set;
+ public static int forbidden_response;
private int fetch_url() {
URL u;
private int fetch_url() {
URL u;
@@
-116,6
+117,7
@@
public class AltosMapStore {
synchronized (forbidden_lock) {
forbidden_time = System.nanoTime();
forbidden_set = true;
synchronized (forbidden_lock) {
forbidden_time = System.nanoTime();
forbidden_set = true;
+ forbidden_response = response;
return AltosMapTile.forbidden;
}
}
return AltosMapTile.forbidden;
}
}