1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/mq3: add extern "C" to header

This commit is contained in:
Ludwig Ortmann 2014-10-31 12:30:03 +01:00
parent 2117737302
commit 2c697bd8a4

View File

@ -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 */
/** @} */