summaryrefslogtreecommitdiff
path: root/megalogger/megalogger.ino
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-04-04 11:24:16 +0800
committerStanley Huang <stanleyhuangyc@gmail.com>2014-04-04 11:24:16 +0800
commite9ac16f5bf871e5254c7992aa74f492306ca2e76 (patch)
tree827d14c59ebb8e4706f487fc9ee0189dfcc884f4 /megalogger/megalogger.ino
parentf9f937f54c528aefe5f9504f8bb3f341f3dcb7aa (diff)
download2021-arduino-obd-e9ac16f5bf871e5254c7992aa74f492306ca2e76.tar.gz
2021-arduino-obd-e9ac16f5bf871e5254c7992aa74f492306ca2e76.tar.bz2
2021-arduino-obd-e9ac16f5bf871e5254c7992aa74f492306ca2e76.zip
Update MEGA Logger
Diffstat (limited to 'megalogger/megalogger.ino')
-rw-r--r--megalogger/megalogger.ino6
1 files changed, 1 insertions, 5 deletions
diff --git a/megalogger/megalogger.ino b/megalogger/megalogger.ino
index d65eec1..8ba8186 100644
--- a/megalogger/megalogger.ino
+++ b/megalogger/megalogger.ino
@@ -121,12 +121,8 @@ public:
}
}
- uint16_t flags = FLAG_CAR | FLAG_OBD;
- if (state & STATE_GPS_CONNECTED) flags |= FLAG_GPS;
- if (state & STATE_ACC_READY) flags |= FLAG_ACC;
-
#if ENABLE_DATA_LOG
- uint16_t index = openFile(LOG_TYPE_DEFAULT, flags);
+ uint16_t index = openFile();
lcd.setCursor(0, 6);
lcd.print("File ID:");
lcd.printInt(index);