diff --git a/components/can/include/CAN.h b/components/can/include/CAN.h index b0b5868..c206335 100644 --- a/components/can/include/CAN.h +++ b/components/can/include/CAN.h @@ -32,6 +32,10 @@ #include #include "CAN_config.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * \brief CAN frame type (standard/extended) */ @@ -93,4 +97,8 @@ int CAN_write_frame(const CAN_frame_t* p_frame); */ int CAN_stop(void); +#ifdef __cplusplus +} +#endif + #endif