test/hfp: fix build

This commit is contained in:
Matthias Ringwald 2021-04-08 12:24:22 +02:00
parent 7d81706fa7
commit 37bb4f7b91
3 changed files with 7 additions and 3 deletions

View File

@ -78,9 +78,13 @@ list(APPEND SOURCES mock.c test_sequences.c)
add_library(btstack STATIC ${SOURCES})
# create targets for all examples
file(GLOB EXAMPLES_C "*.c")
file(GLOB EXAMPLES_C "*.c")
list(SORT EXAMPLES_C)
# remove some
file(GLOB EXAMPLES_OFF "test_sequences.c" "mock.c")
list(REMOVE_ITEM EXAMPLES_C ${EXAMPLES_OFF})
# create targets
foreach(EXAMPLE_FILE ${EXAMPLES_C})
get_filename_component(EXAMPLE ${EXAMPLE_FILE} NAME_WE)

View File

@ -8,7 +8,7 @@
#include "CppUTest/TestHarness.h"
#include "CppUTest/CommandLineTestRunner.h"
#include "btstack_cvsd_plc.h"
#include "classic/btstack_cvsd_plc.h"
#include "wav_util.h"
const int audio_samples_per_frame = 60;

View File

@ -51,7 +51,7 @@
#include <unistd.h>
#include "btstack.h"
#include "btstack_cvsd_plc.h"
#include "classic/btstack_cvsd_plc.h"
#include "wav_util.h"