mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 06:39:53 +00:00
arduino: add C++ protection
This commit is contained in:
parent
1aba866f2c
commit
7d00c19e81
@ -1,7 +1,12 @@
|
|||||||
/**
|
/**
|
||||||
* Arduino Wrapper for BTstack
|
* Arduino Wrapper for BTstack
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef __ARDUINO_BTSTACK_H
|
||||||
|
#define __ARDUINO_BTSTACK_H
|
||||||
|
|
||||||
|
#if defined __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "att.h"
|
#include "att.h"
|
||||||
#include <btstack/utils.h>
|
#include <btstack/utils.h>
|
||||||
@ -188,3 +193,9 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
extern BTstackManager BTstack;
|
extern BTstackManager BTstack;
|
||||||
|
|
||||||
|
#if defined __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // __ARDUINO_BTSTACK_H
|
Loading…
x
Reference in New Issue
Block a user