telegps: use new eeprom reading code
[fw/altos] / altosuilib / AltosUIUnitsIndicator.java
index 63af57257c8c4dfcb94bf72940a1d835c3652b0b..d4dd18db0b2fead58625919270fdfc067de7ee6b 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -82,6 +83,7 @@ public abstract class AltosUIUnitsIndicator extends AltosUIIndicator {
        public void show (AltosState state, AltosListenerState listener_state) {
                double[] v = new double[values.length];
 
+               hide = false;
                for (int i = 0; i < values.length; i++) {
                        if (state != null)
                                v[i] = value(state, listener_state, i);