diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-02-19 12:29:35 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-02-19 12:29:35 -0500 |
commit | 57e39cc9e9840f4d17323ce8cfe1a7c20cf2d3a5 (patch) | |
tree | 60c6015e2d83bfea05556dec8c32e9c8ed90d489 /src/uds/uds.c | |
parent | 96160fc20d2c939e73773f3fbec2f2fd9482dcf4 (diff) |
Leave payload parsing to applications using this library.
Diffstat (limited to 'src/uds/uds.c')
-rw-r--r-- | src/uds/uds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/uds/uds.c b/src/uds/uds.c index b35e2416..1bb9ef81 100644 --- a/src/uds/uds.c +++ b/src/uds/uds.c @@ -268,8 +268,7 @@ int diagnostic_payload_to_integer(const DiagnosticResponse* response) { response->payload_length * CHAR_BIT); } -float diagnostic_decode_obd2_pid(const DiagnosticResponse* response, - int parsed_payload) { +float diagnostic_decode_obd2_pid(const DiagnosticResponse* response) { // handles on the single number values, not the bit encoded ones switch(response->pid) { case 0xa: |