Skip to content
Snippets Groups Projects
Commit 920832cc authored by Oleg Hahm's avatar Oleg Hahm
Browse files

Merge pull request #1918 from LudwigOrtmann/1703-fixup

drivers/mq3: add extern "C" to header
parents 21177373 2c697bd8
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,10 @@ ...@@ -23,6 +23,10 @@
#include "periph/adc.h" #include "periph/adc.h"
#ifdef __cplusplus
extern "C" {
#endif
#define MQ3_MAX_RAW_VALUE (1023U) #define MQ3_MAX_RAW_VALUE (1023U)
/** /**
...@@ -68,5 +72,9 @@ int mq3_read_raw(mq3_t *dev); ...@@ -68,5 +72,9 @@ int mq3_read_raw(mq3_t *dev);
*/ */
int mq3_read(mq3_t *dev); int mq3_read(mq3_t *dev);
#ifdef __cplusplus
}
#endif
#endif /* __MQ3_H */ #endif /* __MQ3_H */
/** @} */ /** @} */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment