From e20d3f47d9b5cb0d9eb8b087f662b811100384e6 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 15 Feb 2017 16:47:12 +0000 Subject: Make public OBD2PID Change-Id: I9879bf83fc57f8f480ff43d27e2fc6635fb1d6f7 Signed-off-by: Romain Forlot --- src/obd2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/obd2.h b/src/obd2.h index 862c04a2..61cb70c3 100644 --- a/src/obd2.h +++ b/src/obd2.h @@ -118,6 +118,8 @@ float handleObd2Pid(const DiagnosticResponse* response, float parsedPayload); */ class Obd2Handler_c { private: + + public: /* * Pre-defined OBD-II PIDs to query for if supported by the vehicle. */ @@ -143,7 +145,6 @@ class Obd2Handler_c { { pid: 0x63, name: "obd2.engine.torque", min: 0, max: 65535, unit: NM, frequency: 1, supported: false }, }; - public: Obd2Handler_c(); bool isObd2Request(request); -- cgit 1.2.3-korg