added missing extern "C" guards
This commit is contained in:
parent
e80c712040
commit
469f28bf5c
@ -19,6 +19,10 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
uint8_t cc110x_txrx(uint8_t c);
|
uint8_t cc110x_txrx(uint8_t c);
|
||||||
|
|
||||||
void cc110x_gdo0_enable(void);
|
void cc110x_gdo0_enable(void);
|
||||||
@ -29,3 +33,7 @@ void cc110x_init_interrupts(void);
|
|||||||
|
|
||||||
void cc110x_before_send(void);
|
void cc110x_before_send(void);
|
||||||
void cc110x_after_send(void);
|
void cc110x_after_send(void);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|||||||
@ -24,6 +24,10 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "periph/i2c.h"
|
#include "periph/i2c.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The sensors default I2C address
|
* @brief The sensors default I2C address
|
||||||
*/
|
*/
|
||||||
@ -101,5 +105,9 @@ int isl29020_enable(isl29020_t *dev);
|
|||||||
*/
|
*/
|
||||||
int isl29020_disable(isl29020_t *dev);
|
int isl29020_disable(isl29020_t *dev);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __ISL29020_H */
|
#endif /* __ISL29020_H */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
@ -19,6 +19,10 @@
|
|||||||
#ifndef __ISL29020_INTERNAL_H
|
#ifndef __ISL29020_INTERNAL_H
|
||||||
#define __ISL29020_INTERNAL_H
|
#define __ISL29020_INTERNAL_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name ISL29020 registers
|
* @name ISL29020 registers
|
||||||
* @{
|
* @{
|
||||||
@ -61,5 +65,9 @@
|
|||||||
#define ISL29020_RANGE_4 0x03
|
#define ISL29020_RANGE_4 0x03
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __ISL29020_INTERNAL_H */
|
#endif /* __ISL29020_INTERNAL_H */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user