telegps: Fix up TeleGPS UI bits after accel cal changes
authorKeith Packard <keithp@keithp.com>
Mon, 18 Sep 2017 16:57:06 +0000 (09:57 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 18 Sep 2017 16:59:24 +0000 (09:59 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
telegps/TeleGPSConfigUI.java

index 88ced19248298b0c80119826de3a3040eb0d2a83..87683c2baf5b3155f7731bf2d9ebef8914e0e0c1 100644 (file)
@@ -619,7 +619,7 @@ public class TeleGPSConfigUI
                return true;
        }
 
-       void set_dirty() {
+       public void set_dirty() {
                dirty = true;
                save.setEnabled(true);
        }
@@ -634,6 +634,17 @@ public class TeleGPSConfigUI
                super.dispose();
        }
 
+       public int accel_cal_plus() {
+               return AltosLib.MISSING;
+       }
+
+       public int accel_cal_minus() {
+               return AltosLib.MISSING;
+       }
+
+       public void set_accel_cal(int accel_plus, int accel_minus) {
+       }
+
        /* Listen for events from our buttons */
        public void actionPerformed(ActionEvent e) {
                String  cmd = e.getActionCommand();