From fed7c4cae3d8dd1a53d0b394f6abcfa9f8c30a64 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Mon, 20 Jan 2014 16:19:01 -0500 Subject: Add a function to parse the entire payload as a float. --- src/uds/uds.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/uds/uds.h') diff --git a/src/uds/uds.h b/src/uds/uds.h index 091d3c9f..78f70e15 100644 --- a/src/uds/uds.h +++ b/src/uds/uds.h @@ -83,6 +83,8 @@ DiagnosticResponse diagnostic_receive_can_frame(DiagnosticShims* shims, const uint16_t arbitration_id, const uint8_t data[], const uint8_t size); +float diagnostic_payload_to_float(const DiagnosticResponse* response); + /* Public: Render a DiagnosticResponse as a string into the given buffer. * * TODO implement this -- cgit 1.2.3-korg