altoslib: Fix labels in AltosIMU to match source data
[fw/altos] / altoslib / AltosMapStore.java
index 7cce05a594c7eccb8008aaaca85c68357d97f76b..460c52b628ec4094a133cae4b1796dc8b3f4eee2 100644 (file)
@@ -91,6 +91,7 @@ public class AltosMapStore {
        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;
@@ -116,6 +117,7 @@ public class AltosMapStore {
                                        synchronized (forbidden_lock) {
                                                forbidden_time = System.nanoTime();
                                                forbidden_set = true;
+                                               forbidden_response = response;
                                                return AltosMapTile.forbidden;
                                        }
                                }