net: bt: fix C++ link errors
Signed-off-by: Rihards Skuja <rihardssk@mikrotik.com>
This commit is contained in:
parent
85cad85077
commit
4bd247af70
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,10 @@
|
|||
|
||||
#include <net/net_mgmt.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Management part definitions */
|
||||
|
||||
#define _NET_BT_LAYER NET_MGMT_LAYER_L2
|
||||
|
@ -57,4 +61,8 @@ enum net_event_bt_cmd {
|
|||
|
||||
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_BT_DISCONNECT);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_NET_BT_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue