projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/test: ao_gps_test_ublox uses ao_gps_blox.h
[fw/altos]
/
altosui
/
AltosIdleMonitorUI.java
diff --git
a/altosui/AltosIdleMonitorUI.java
b/altosui/AltosIdleMonitorUI.java
index 8c883eebfc0cd8a5fdda2cf44d9e8095824c96e3..bbab017f1c525779c622e1623f1db541c8d72fba 100644
(file)
--- a/
altosui/AltosIdleMonitorUI.java
+++ b/
altosui/AltosIdleMonitorUI.java
@@
-63,21
+63,21
@@
public class AltosIdleMonitorUI extends AltosUIFrame implements AltosFlightDispl
AltosFlightStatusUpdate status_update;
AltosFlightStatusUpdate status_update;
- public void show(AltosState state,
int crc_errors
) {
+ public void show(AltosState state,
AltosListenerState listener_state
) {
status_update.saved_state = state;
try {
status_update.saved_state = state;
try {
- pad.show(state,
crc_errors
);
- flightStatus.show(state,
crc_errors
);
- flightInfo.show(state,
crc_errors
);
+ pad.show(state,
listener_state
);
+ flightStatus.show(state,
listener_state
);
+ flightInfo.show(state,
listener_state
);
} catch (Exception e) {
System.out.print("Show exception" + e);
}
}
} catch (Exception e) {
System.out.print("Show exception" + e);
}
}
- public void update(final AltosState state) {
+ public void update(final AltosState state
, final AltosListenerState listener_state
) {
Runnable r = new Runnable() {
public void run() {
Runnable r = new Runnable() {
public void run() {
- show(state,
0
);
+ show(state,
listener_state
);
}
};
SwingUtilities.invokeLater(r);
}
};
SwingUtilities.invokeLater(r);