summaryrefslogtreecommitdiff
path: root/telelogger/telelogger.ino
diff options
context:
space:
mode:
Diffstat (limited to 'telelogger/telelogger.ino')
-rw-r--r--telelogger/telelogger.ino4
1 files changed, 3 insertions, 1 deletions
diff --git a/telelogger/telelogger.ino b/telelogger/telelogger.ino
index 479d840..bd5a5ba 100644
--- a/telelogger/telelogger.ino
+++ b/telelogger/telelogger.ino
@@ -1,5 +1,5 @@
/******************************************************************************
-* Vehicle Telematics Data Transmitter Sketch (SIM900/GPRS)
+* Vehicle Telematics Remote Data Logger Sketch (SIM900/GPRS)
* Developed by Stanley Huang <stanleyhuangyc@gmail.com>
* Distributed under GPL v2.0
*
@@ -15,7 +15,9 @@
#include <Arduino.h>
#include <Wire.h>
#include <OBD.h>
+#if ENABLE_DATA_LOG
#include <SD.h>
+#endif
#include <I2Cdev.h>
#include <MPU9150.h>
#include "config.h"