summaryrefslogtreecommitdiffstats
path: root/ll-can-binding.h
diff options
context:
space:
mode:
authorBuilder <devel@6b3797ab1e90>2017-01-30 10:13:12 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-01-30 13:34:57 +0000
commitc77d764709de4afdd2a5f5cf7a88ab01ffd12cc7 (patch)
tree1b51248675e0847bd90603bf654ef35aa3565cdd /ll-can-binding.h
parent9650f4238498e09230ff76bf458043be9ef00df2 (diff)
Comment useless code before cleanup
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'll-can-binding.h')
-rw-r--r--ll-can-binding.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ll-can-binding.h b/ll-can-binding.h
index 1c993d7f..df2c5cd6 100644
--- a/ll-can-binding.h
+++ b/ll-can-binding.h
@@ -90,4 +90,9 @@ static void send_event();
static int retry( int(*func)());
-static void parse_can_frame(openxc_CanMessage *can_message, struct canfd_frame *canfd_frame, int maxdlen);
+static int parse_can_frame(openxc_CanMessage *can_message, struct canfd_frame *canfd_frame, int maxdlen);
+
+#ifdef openxc_CanMessage_init_default
+#undef openxc_CanMessage_init_default
+#endif
+openxc_CanMessage openxc_CanMessage_init_default = {.has_bus = false, .bus = 0, .has_id = false, .id = 0, .has_data = false, .data = {0, {0}}, .has_frame_format = false, .frame_format = (openxc_CanMessage_FrameFormat)0};