diff options
author | Keith Packard <keithp@keithp.com> | 2010-04-02 21:48:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-04-02 21:48:41 -0700 |
commit | 6d523ee4dad3b9890d3cf05852459101fe7e26ea (patch) | |
tree | b5ba721c1ed61b1b1e8c6c8ea2a9c679dbade65e | |
parent | caa0bf49668344937483190d1c258bfa32971d19 (diff) |
Fix status update
-rw-r--r-- | ao-tools/altosui/AltosUI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ao-tools/altosui/AltosUI.java b/ao-tools/altosui/AltosUI.java index 7befe778..66c75487 100644 --- a/ao-tools/altosui/AltosUI.java +++ b/ao-tools/altosui/AltosUI.java @@ -52,7 +52,7 @@ class AltosFlightStatusTableModel extends AbstractTableModel { public void setValueAt(Object value, int col) { data[col] = value; - fireTableCellUpdated(0, col); + fireTableCellUpdated(1, col); } public void setValueAt(Object value, int row, int col) { @@ -273,7 +273,7 @@ public class AltosUI extends JFrame { if (state.npad >= MIN_PAD_SAMPLES) info_add_row(0, "Ground state", "%s", "ready"); else - info_add_row(0, "Ground state", "waiting for gps (%d)", + info_add_row(0, "Ground state", "wait (%d)", MIN_PAD_SAMPLES - state.npad); info_add_row(0, "Rocket state", "%s", state.data.state); info_add_row(0, "Callsign", "%s", state.data.callsign); |