projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Devices with log-format can also delete flights
[fw/altos]
/
altosui
/
AltosEepromDelete.java
diff --git
a/altosui/AltosEepromDelete.java
b/altosui/AltosEepromDelete.java
index 94951ced3758c66be524b980643d394accb98fe8..cd9abfabc02fcf3b00e25f8324cb9f35ca6bd67c 100644
(file)
--- a/
altosui/AltosEepromDelete.java
+++ b/
altosui/AltosEepromDelete.java
@@
-42,7
+42,7
@@
public class AltosEepromDelete implements Runnable {
private void DeleteLog (AltosEepromLog log)
throws IOException, InterruptedException, TimeoutException {
private void DeleteLog (AltosEepromLog log)
throws IOException, InterruptedException, TimeoutException {
- if (flights.config_data.flight_log_max != 0) {
+ if (flights.config_data.flight_log_max != 0
|| flights.config_data.log_format != 0
) {
/* Devices with newer firmware can erase the
* flash blocks containing each flight
/* Devices with newer firmware can erase the
* flash blocks containing each flight