diff --git a/drivers/include/mq3.h b/drivers/include/mq3.h index 82717e83cc..bdc16a60eb 100644 --- a/drivers/include/mq3.h +++ b/drivers/include/mq3.h @@ -23,6 +23,10 @@ #include "periph/adc.h" +#ifdef __cplusplus +extern "C" { +#endif + #define MQ3_MAX_RAW_VALUE (1023U) /** @@ -68,5 +72,9 @@ int mq3_read_raw(mq3_t *dev); */ int mq3_read(mq3_t *dev); +#ifdef __cplusplus +} +#endif + #endif /* __MQ3_H */ /** @} */