mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-28 06:39:49 +00:00
fix compile in tests
This commit is contained in:
parent
ad6274a743
commit
58e7732a24
@ -6,8 +6,10 @@
|
||||
#define __BTSTACK_CONFIG
|
||||
|
||||
// Port related features
|
||||
#define HAVE_POSIX_TIME
|
||||
#define HAVE_MALLOC
|
||||
#define HAVE_POSIX_TIME
|
||||
#define HAVE_POSIX_FILE_IO
|
||||
#define HAVE_POSIX_STDIN
|
||||
|
||||
// BTstack features that can be enabled
|
||||
#define ENABLE_BLE
|
||||
|
@ -9,6 +9,9 @@
|
||||
#include "btstack_util.h"
|
||||
|
||||
#include "btstack_config.h"
|
||||
|
||||
extern "C" uint32_t btstack_run_loop_get_time_ms(void) { return 0; }
|
||||
|
||||
TEST_GROUP(RemoteDeviceDB){
|
||||
bd_addr_t bd_addr;
|
||||
link_key_t link_key;
|
||||
|
@ -14,6 +14,8 @@ extern btstack_linked_list_t db_mem_names ;
|
||||
// const extern "C" db_mem_device_name_t * btstack_memory_db_mem_device_name_get(void);
|
||||
// const extern "C" void btstack_memory_init(void);
|
||||
|
||||
extern "C" uint32_t btstack_run_loop_get_time_ms(void) { return 0; }
|
||||
|
||||
void dump(btstack_linked_list_t list){
|
||||
printf("dump:\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user