projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Shrink ao_cmd_put16, ao_cmd_hex and ao_cmd
[fw/altos]
/
altosui
/
AltosEepromDelete.java
diff --git
a/altosui/AltosEepromDelete.java
b/altosui/AltosEepromDelete.java
index c95eda153d5c5edc07eee944b0cd0324a7266d8d..ecd82c187bd2328126cd882706b6c09e39282afa 100644
(file)
--- a/
altosui/AltosEepromDelete.java
+++ b/
altosui/AltosEepromDelete.java
@@
-49,11
+49,9
@@
public class AltosEepromDelete implements Runnable {
*/
serial_line.flush_input();
serial_line.printf("d %d\n", log.flight);
*/
serial_line.flush_input();
serial_line.printf("d %d\n", log.flight);
- System.out.printf("Attempt to delete flight %d\n", log.flight);
for (;;) {
/* It can take a while to erase the flash... */
String line = serial_line.get_reply(20000);
for (;;) {
/* It can take a while to erase the flash... */
String line = serial_line.get_reply(20000);
- System.out.printf("got back line %s\n", line);
if (line == null)
throw new TimeoutException();
if (line.equals("Erased"))
if (line == null)
throw new TimeoutException();
if (line.equals("Erased"))
@@
-96,7
+94,6
@@
public class AltosEepromDelete implements Runnable {
DeleteLog(log);
}
}
DeleteLog(log);
}
}
- System.out.printf("All flights successfully deleted\n");
success = true;
} catch (IOException ee) {
show_error (ee.getLocalizedMessage(),
success = true;
} catch (IOException ee) {
show_error (ee.getLocalizedMessage(),