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:
parent
2117737302
commit
2c697bd8a4
@ -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 */
|
||||
/** @} */
|
||||
|
Loading…
Reference in New Issue
Block a user