From b0e4fcd554d01b9c6d3bab15279695bf865eb6f4 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sat, 5 Jun 2021 16:52:58 +0200 Subject: [PATCH] add missing includes to fix build --- example/audio_duplex.c | 2 +- example/mod_player.c | 1 + example/sine_player.c | 1 + platform/embedded/btstack_uart_block_embedded.c | 3 +++ 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/example/audio_duplex.c b/example/audio_duplex.c index 05f971748..f6a59f803 100644 --- a/example/audio_duplex.c +++ b/example/audio_duplex.c @@ -42,7 +42,7 @@ */ #include "btstack.h" - +#include // uncomment to test start/stop of loopback / audio driver // #define TEST_START_STOP_INTERVAL 5000 diff --git a/example/mod_player.c b/example/mod_player.c index be4c3e345..8afa4017b 100644 --- a/example/mod_player.c +++ b/example/mod_player.c @@ -44,6 +44,7 @@ #include "btstack.h" #include "hxcmod.h" #include "mods/mod.h" +#include static modcontext mod_context; diff --git a/example/sine_player.c b/example/sine_player.c index 9664267a8..69cd95994 100644 --- a/example/sine_player.c +++ b/example/sine_player.c @@ -43,6 +43,7 @@ */ #include "btstack.h" +#include #define TABLE_SIZE_441HZ 100 diff --git a/platform/embedded/btstack_uart_block_embedded.c b/platform/embedded/btstack_uart_block_embedded.c index 0a58e43f0..0ba3188ae 100644 --- a/platform/embedded/btstack_uart_block_embedded.c +++ b/platform/embedded/btstack_uart_block_embedded.c @@ -49,6 +49,9 @@ #include "btstack_run_loop_embedded.h" #include "hal_uart_dma.h" +// NULL +#include + // uart config static const btstack_uart_config_t * btstack_uart_block_configuration;