Add C linkage declaration for C++ usage
This commit is contained in:
@@ -615,6 +615,8 @@
|
||||
|
||||
/* --- CAN functions -------------------------------------------------------- */
|
||||
|
||||
BEGIN_DECLS
|
||||
|
||||
void can_reset(u32 canport);
|
||||
int can_init(u32 canport, bool ttcm, bool abom, bool awum, bool nart,
|
||||
bool rflm, bool txfp, u32 sjw, u32 ts1, u32 ts2, u32 brp);
|
||||
@@ -639,4 +641,6 @@ void can_receive(u32 canport, u8 fifo, bool release, u32 *id, bool *ext,
|
||||
|
||||
void can_fifo_release(u32 canport, u8 fifo);
|
||||
|
||||
END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user