projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
caa0bf4
)
Fix status update
author
Keith Packard
<keithp@keithp.com>
Sat, 3 Apr 2010 04:48:41 +0000
(21:48 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sat, 3 Apr 2010 04:48:41 +0000
(21:48 -0700)
ao-tools/altosui/AltosUI.java
patch
|
blob
|
history
diff --git
a/ao-tools/altosui/AltosUI.java
b/ao-tools/altosui/AltosUI.java
index 7befe778cca7102318c9f04546937388a07b4a0a..66c75487638cbe2065df73bc2ea3a7b386c32d6f 100644
(file)
--- 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;
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) {
}
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
if (state.npad >= MIN_PAD_SAMPLES)
info_add_row(0, "Ground state", "%s", "ready");
else
- info_add_row(0, "Ground state", "wait
ing 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);
MIN_PAD_SAMPLES - state.npad);
info_add_row(0, "Rocket state", "%s", state.data.state);
info_add_row(0, "Callsign", "%s", state.data.callsign);