Add C linkage declaration for C++ usage

This commit is contained in:
Nicolas Schodet
2012-09-02 17:12:58 +02:00
parent 11727f56c9
commit 3aab6220d8
41 changed files with 173 additions and 0 deletions

View File

@@ -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