diff options
author | Keith Packard <keithp@keithp.com> | 2014-08-29 15:22:43 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-08-29 15:22:43 -0500 |
commit | 810f9a4f79b0480973d84595140d3f8948ce26d9 (patch) | |
tree | f0449f475eb57d23a669e0191f8195a3de569afd /altoslib/AltosLog.java | |
parent | 5872bd10df14b47de0e541bff16d9220af0558aa (diff) |
altosdroid: start restoring from log data on startup
Remember which flight was last being received and reload that file
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosLog.java')
-rw-r--r-- | altoslib/AltosLog.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/altoslib/AltosLog.java b/altoslib/AltosLog.java index 1cac6b52..28116e3d 100644 --- a/altoslib/AltosLog.java +++ b/altoslib/AltosLog.java @@ -72,6 +72,7 @@ public class AltosLog implements Runnable { } log_file.flush(); file = a; + AltosPreferences.set_logfile(link.serial, file); } return log_file != null; } |