summaryrefslogtreecommitdiff
path: root/unologger/unologger.ino
diff options
context:
space:
mode:
Diffstat (limited to 'unologger/unologger.ino')
-rw-r--r--unologger/unologger.ino4
1 files changed, 3 insertions, 1 deletions
diff --git a/unologger/unologger.ino b/unologger/unologger.ino
index c6db802..da93d79 100644
--- a/unologger/unologger.ino
+++ b/unologger/unologger.ino
@@ -19,12 +19,14 @@
#endif
#include "datalogger.h"
-// logger states
#define STATE_SD_READY 0x1
#define STATE_OBD_READY 0x2
#define STATE_ACC_READY 0x10
#define STATE_SLEEPING 0x20
+#define OBD_MODEL_UART 0
+#define OBD_MODEL_I2C 1
+
static uint32_t lastFileSize = 0;
static int speed = 0;
static uint32_t distance = 0;