diff options
-rw-r--r-- | cethcan/socketcan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cethcan/socketcan.c b/cethcan/socketcan.c index 21b10fa..712116a 100644 --- a/cethcan/socketcan.c +++ b/cethcan/socketcan.c @@ -11,7 +11,7 @@ #ifndef CANFD_MAX_DLEN #define CANFD_MAX_DLEN 64 #endif -#ifndef CAN_RAW_FD_FRAMES +#if !(defined(CAN_RAW_FD_FRAMES) || defined(CANFD_MTU)) #define CAN_RAW_FD_FRAMES 5 struct canfd_frame { canid_t can_id; /* 32 bit CAN_ID + EFF/RTR/ERR flags */ |