diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-02 15:28:06 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-02 15:29:05 -0500 |
commit | 54713fc5deab5de318d79035a0927d828ae239f5 (patch) | |
tree | 98260216adf7b4a27422c921f9f2a0c7b53225ef /tests/common.c | |
parent | 7a5e3a7037170aacc3f3438f1267c635358d91a8 (diff) |
Draft implemenation of receiving and parsing single fram diag messages.
Diffstat (limited to 'tests/common.c')
-rw-r--r-- | tests/common.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/common.c b/tests/common.c index e35ef529..99b2f7c4 100644 --- a/tests/common.c +++ b/tests/common.c @@ -35,12 +35,6 @@ void mock_send_can(const uint16_t arbitration_id, const uint8_t* data, void mock_set_timer(uint16_t time_ms, void (*callback)) { } -void response_received_handler(const DiagnosticResponse* response) { - last_response_was_received = true; - // TODO not sure if we can copy the struct like this - last_response_received = *response; -} - void setup() { SHIMS = diagnostic_init_shims(debug, mock_send_can, mock_set_timer); memset(last_can_payload_sent, 0, sizeof(last_can_payload_sent)); |