diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-15 16:47:12 +0000 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-15 16:47:12 +0000 |
commit | e20d3f47d9b5cb0d9eb8b087f662b811100384e6 (patch) | |
tree | 628dbeda413599c20c6540418537638babbf6a08 /src | |
parent | 4169ab612f0b78ca0cbe47663007bdffc5b25907 (diff) |
Make public OBD2PID
Change-Id: I9879bf83fc57f8f480ff43d27e2fc6635fb1d6f7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r-- | src/obd2.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |