We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 138d232 commit 0550a59Copy full SHA for 0550a59
src/ODriveCAN.h
@@ -9,7 +9,7 @@
9
#define REQUEST_PENDING 0xff
10
11
#define CREATE_CAN_INTF_WRAPPER(TIntf) \
12
- ODriveCanIntfWrapper wrap_can_intf(TIntf& intf) { \
+ static inline ODriveCanIntfWrapper wrap_can_intf(TIntf& intf) { \
13
return { \
14
&intf, \
15
[](void* intf, uint32_t id, uint8_t length, const uint8_t* data) { return sendMsg(*(TIntf*)intf, id, length, data); }, \
0 commit comments