summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/obd2/obd2_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/obd2/obd2_types.h b/src/obd2/obd2_types.h
index d1c5a3a4..5260fa8e 100644
--- a/src/obd2/obd2_types.h
+++ b/src/obd2/obd2_types.h
@@ -126,6 +126,8 @@ typedef enum {
*/
typedef void (*DiagnosticResponseReceived)(const DiagnosticResponse* response);
+typedef float (*DiagnosticResponseDecoder)(const DiagnosticResponse* response);
+
/* Public: A handle for initiating and continuing a single diagnostic request.
*
* A diagnostic request requires one or more CAN messages to be sent, and one