mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
btstack_memory: only include classic headers if ENABLE_CLASSIC
This commit is contained in:
parent
e0b56338c6
commit
ef83f5c4f3
@ -58,6 +58,7 @@ extern "C" {
|
||||
#include "l2cap.h"
|
||||
|
||||
// Classic
|
||||
#ifdef ENABLE_CLASSIC
|
||||
#include "classic/avdtp_sink.h"
|
||||
#include "classic/avdtp_source.h"
|
||||
#include "classic/avrcp.h"
|
||||
@ -68,6 +69,7 @@ extern "C" {
|
||||
#include "classic/hid_host.h"
|
||||
#include "classic/rfcomm.h"
|
||||
#include "classic/sdp_server.h"
|
||||
#endif
|
||||
|
||||
// BLE
|
||||
#ifdef ENABLE_BLE
|
||||
|
@ -66,6 +66,7 @@ extern "C" {
|
||||
#include "l2cap.h"
|
||||
|
||||
// Classic
|
||||
#ifdef ENABLE_CLASSIC
|
||||
#include "classic/avdtp_sink.h"
|
||||
#include "classic/avdtp_source.h"
|
||||
#include "classic/avrcp.h"
|
||||
@ -76,6 +77,7 @@ extern "C" {
|
||||
#include "classic/hid_host.h"
|
||||
#include "classic/rfcomm.h"
|
||||
#include "classic/sdp_server.h"
|
||||
#endif
|
||||
|
||||
// BLE
|
||||
#ifdef ENABLE_BLE
|
||||
|
Loading…
Reference in New Issue
Block a user