xucheng5 commented on PR #11002: URL: https://github.com/apache/nuttx/pull/11002#issuecomment-1968028950
> > maybe we can use `lin_frame_t` instead of `struct can_frame` to make a difference between can and lin which means use `typedef struct can_frame lin_frame_t` to redefine `struct can_frame`. > > Hi. I tried to stick to https://github.com/lin-bus/linux-lin/blob/master/sllin/sllin.c as close as possible. That typedef can be done, but I do not see a real benefit from it. I'm testing this change with standard CAN utilities like `cansend`, so only the underlying interface name is `linX`. I think this is a right path to go agree with it ! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
