summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/uds/uds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uds/uds.c b/src/uds/uds.c
index e0de344d..ed46b4a9 100644
--- a/src/uds/uds.c
+++ b/src/uds/uds.c
@@ -307,7 +307,7 @@ float diagnostic_decode_obd2_pid(const DiagnosticResponse* response) {
case 0x62:
return response->payload[0] - 125;
default:
- return 0;
+ return diagnostic_payload_to_integer(response);
}
}