summaryrefslogtreecommitdiffstats
path: root/tests/common.c
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-31 16:03:43 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-31 16:12:36 -0500
commit6bbc83bd1daac73f9e0dcccb848154a3c3b972fa (patch)
tree9b8f6c4c26aff785fd9112d0e8e0ace6b05807fe /tests/common.c
parent10a35b0a7c380d77cdd24ac90d6aa0abd4601f3e (diff)
Move some functions to main isotp.h file to simplify includes for now.
Diffstat (limited to 'tests/common.c')
-rw-r--r--tests/common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/common.c b/tests/common.c
index 4ad8eff1..247d8f3d 100644
--- a/tests/common.c
+++ b/tests/common.c
@@ -83,8 +83,7 @@ void can_frame_sent(const uint16_t arbitration_id, const uint8_t* payload,
void setup() {
SHIMS = isotp_init_shims(debug, mock_send_can, mock_set_timer);
- // TODO
- /* HANDLE = isotp_receive(&SHIMS, 0x2a, message_received); */
+ HANDLE = isotp_receive(&SHIMS, 0x2a, message_received);
last_message_sent_payload = malloc(MAX_ISO_TP_MESSAGE_SIZE);
last_message_received_payload = malloc(MAX_ISO_TP_MESSAGE_SIZE);
memset(last_can_payload_sent, 0, sizeof(last_can_payload_sent));