diff options
author | 2017-01-30 10:13:12 +0000 | |
---|---|---|
committer | 2017-01-30 13:34:57 +0000 | |
commit | c77d764709de4afdd2a5f5cf7a88ab01ffd12cc7 (patch) | |
tree | 1b51248675e0847bd90603bf654ef35aa3565cdd /ll-can-binding.h | |
parent | 9650f4238498e09230ff76bf458043be9ef00df2 (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.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ll-can-binding.h b/ll-can-binding.h index 1c993d7..df2c5cd 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}; |