aboutsummaryrefslogtreecommitdiffstats
path: root/src/isotp/receive.c
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-31 16:29:07 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-31 16:29:07 -0500
commit03c3696d34a064e40c98bb5d53c9b68967353cea (patch)
treef546d19b16f0594d48a9a3c534794dc1d409a7e2 /src/isotp/receive.c
parent6bbc83bd1daac73f9e0dcccb848154a3c3b972fa (diff)
Return completion status when receiving CAN frames.
Diffstat (limited to 'src/isotp/receive.c')
-rw-r--r--src/isotp/receive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/isotp/receive.c b/src/isotp/receive.c
index 1d623384..e69c59b7 100644
--- a/src/isotp/receive.c
+++ b/src/isotp/receive.c
@@ -1,8 +1,8 @@
#include <isotp/receive.h>
-void isotp_handle_single_frame(IsoTpHandle* handle,
- IsoTpMessage* message) {
+bool isotp_handle_single_frame(IsoTpHandle* handle, IsoTpMessage* message) {
isotp_complete_receive(handle, message);
+ return true;
}
void isotp_complete_receive(IsoTpHandle* handle, IsoTpMessage* message) {