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:
* 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
}