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, 4 insertions, 0 deletions
diff --git a/unologger/unologger.ino b/unologger/unologger.ino
index d636938..9c03ac6 100644
--- a/unologger/unologger.ino
+++ b/unologger/unologger.ino
@@ -45,7 +45,11 @@ static byte pidTier3[] = {PID_COOLANT_TEMP, PID_INTAKE_TEMP, PID_AMBIENT_TEMP, P
#define TIER_NUM2 sizeof(pidTier2)
#define TIER_NUM3 sizeof(pidTier3)
+#if OBD_MODEL == OBD_MODEL_UART
class COBDLogger : public COBD, public CDataLogger
+#else
+class COBDLogger : public COBDI2C, public CDataLogger
+#endif
{
public:
COBDLogger():state(0) {}