+ lights.set(state.gps.locked);
+ }
+ public GPSLocked (GridBagLayout layout, int y) {
+ super (layout, y, "GPS Locked");
+ }
+ }
+
+ GPSLocked gps_locked;
+
+ class GPSReady extends LaunchStatus {
+ void show (AltosState state, int crc_errors) {
+ if (state.gps_ready)
+ value.setText("Ready");
+ else
+ value.setText(String.format("Waiting %d", state.gps_waiting));