From: Keith Packard Date: Sat, 3 Apr 2010 04:48:41 +0000 (-0700) Subject: Fix status update X-Git-Tag: debian/0.6+163+g01e524f~23 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=6d523ee4dad3b9890d3cf05852459101fe7e26ea Fix status update --- 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);