progress
This commit is contained in:
parent
28ce458e5b
commit
437e64ad38
|
@ -80,7 +80,7 @@ public enum FileLog {
|
|||
return new FileOutputStream(fileName, true);
|
||||
}
|
||||
|
||||
private static void createFolderIfNeeded() {
|
||||
static void createFolderIfNeeded() {
|
||||
File dir = new File(DIR);
|
||||
if (dir.exists())
|
||||
return;
|
||||
|
|
|
@ -138,13 +138,14 @@ public class SensorLogger {
|
|||
}
|
||||
|
||||
private static void startSensorLogFile() {
|
||||
FileLog.createFolderIfNeeded();
|
||||
String fileName = FileLog.DIR + FileLog.getDate() + ".msl";
|
||||
|
||||
fileStartTime = System.currentTimeMillis();
|
||||
try {
|
||||
logFile = new FileWriter(fileName);
|
||||
|
||||
logFile.write("\"rusEfi console" + Launcher.CONSOLE_VERSION + " firmware " + Launcher.firmwareVersion.get() + "\"\r\n");
|
||||
logFile.write("\"rusEFI console" + Launcher.CONSOLE_VERSION + " firmware " + Launcher.firmwareVersion.get() + "\"\r\n");
|
||||
logFile.write("Captured " + FileLog.getDate() + "\r\n");
|
||||
|
||||
int debugMode = -1;
|
||||
|
|
Loading…
Reference in New Issue