diff options
Diffstat (limited to 'src/uds')
-rw-r--r-- | src/uds/uds.c | 3 | ||||
-rw-r--r-- | src/uds/uds.h | 3 |
2 files changed, 2 insertions, 4 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: diff --git a/src/uds/uds.h b/src/uds/uds.h index 3389adff..0d40561a 100644 --- a/src/uds/uds.h +++ b/src/uds/uds.h @@ -117,8 +117,7 @@ void diagnostic_request_to_string(const DiagnosticRequest* request, * Returns the translated value or 0 if the PID is not in the OBD-II standard or * does not use a numerical value (e.g. VIN). */ -float diagnostic_decode_obd2_pid(const DiagnosticResponse* response, - int parsed_payload); +float diagnostic_decode_obd2_pid(const DiagnosticResponse* response); #ifdef __cplusplus } |