From 53be73e88acd50403d5ecd0c4d95757640795268 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald <matthias@ringwald.ch> Date: Mon, 20 Feb 2017 11:30:58 +0100 Subject: [PATCH] tests: fix compile --- src/ble/le_device_db.h | 1 + test/btstack_config.h | 1 + 2 files changed, 2 insertions(+) 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