summaryrefslogtreecommitdiff
path: root/libraries/OBD/OBD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/OBD/OBD.cpp')
-rw-r--r--libraries/OBD/OBD.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/OBD/OBD.cpp b/libraries/OBD/OBD.cpp
index 2728a09..85e3ed0 100644
--- a/libraries/OBD/OBD.cpp
+++ b/libraries/OBD/OBD.cpp
@@ -168,6 +168,12 @@ int COBD::normalizeData(byte pid, char* data)
case PID_FUEL_INJECTION_TIMING:
result = ((int32_t)getLargeValue(data) - 26880) / 128;
break;
+ case PID_CATALYST_TEMP_B1S1:
+ case PID_CATALYST_TEMP_B2S1:
+ case PID_CATALYST_TEMP_B1S2:
+ case PID_CATALYST_TEMP_B2S2:
+ result = getLargeValue(data) / 10 - 40;
+ break;
default:
result = getSmallValue(data);
}