telegps: use new eeprom reading code
[fw/altos] / altosuilib / AltosUIUnitsIndicator.java
index 1b900e54be306ea1cc83b212ebf72963ecb685b6..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
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-package org.altusmetrum.altosuilib_10;
+package org.altusmetrum.altosuilib_11;
 
 import java.awt.*;
 import javax.swing.*;
-import org.altusmetrum.altoslib_10.*;
+import org.altusmetrum.altoslib_11.*;
 
 public abstract class AltosUIUnitsIndicator extends AltosUIIndicator {
 
@@ -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);