summaryrefslogtreecommitdiffstats
path: root/tests/test_send.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/test_send.c
parent10a35b0a7c380d77cdd24ac90d6aa0abd4601f3e (diff)
Move some functions to main isotp.h file to simplify includes for now.
Diffstat (limited to 'tests/test_send.c')
-rw-r--r--tests/test_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_send.c b/tests/test_send.c
index 599552ae..0320576c 100644
--- a/tests/test_send.c
+++ b/tests/test_send.c
@@ -1,4 +1,4 @@
-#include <isotp/isotp.h>
+#include <isotp/receive.h>
#include <check.h>
#include <stdint.h>
#include <stdio.h>
@@ -30,7 +30,7 @@ extern void setup();
START_TEST (test_send_empty_payload)
{
uint16_t arbitration_id = 0x2a;
- IsoTpHandle foo = isotp_send(&SHIMS, arbitration_id, NULL, 0, message_sent);
+ IsoTpHandle handle = isotp_send(&SHIMS, arbitration_id, NULL, 0, message_sent);
fail_unless(handle.success);
fail_unless(handle.completed);
ck_assert_int_eq(last_message_sent_arb_id, arbitration_id);