Bluetooth: Mesh: Add header file support for C++
Add preprocessor directive for C++ compatibility. Signed-off-by: Robert Konc <robert@konc.si>
This commit is contained in:
parent
ce8e1ecd2d
commit
62c8fee2ec
7 changed files with 55 additions and 0 deletions
|
@ -17,6 +17,10 @@
|
|||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
BT_MESH_NO_OUTPUT = 0,
|
||||
BT_MESH_BLINK = BIT(0),
|
||||
|
@ -356,6 +360,10 @@ int bt_mesh_lpn_poll(void);
|
|||
*/
|
||||
void bt_mesh_lpn_set_cb(void (*cb)(u16_t friend_addr, bool established));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue