diff --git a/src/ble/le_device_db.h b/src/ble/le_device_db.h index ecc741aea..5e8668434 100644 --- a/src/ble/le_device_db.h +++ b/src/ble/le_device_db.h @@ -39,6 +39,7 @@ #define __LE_DEVICE_DB_H #include "btstack_util.h" +#include "btstack_config.h" #if defined __cplusplus extern "C" { diff --git a/test/btstack_config.h b/test/btstack_config.h index 7d4ad80ba..ac60c0f18 100644 --- a/test/btstack_config.h +++ b/test/btstack_config.h @@ -27,5 +27,6 @@ // BTstack configuration. buffers, sizes, ... #define HCI_ACL_PAYLOAD_SIZE 52 #define HCI_INCOMING_PRE_BUFFER_SIZE 4 +#define MAX_NR_LE_DEVICE_DB_ENTRIES 1 #endif