From bc4cd0ef3e361e1bd12916f8fb5836c5d6cafed6 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sun, 10 Mar 2019 16:26:15 +0100 Subject: [PATCH] stm32-f4discovery-cc256x: audio hal stop stream on close --- port/stm32-f4discovery-cc256x/src/hal_audio_f4discovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/stm32-f4discovery-cc256x/src/hal_audio_f4discovery.c b/port/stm32-f4discovery-cc256x/src/hal_audio_f4discovery.c index 84cdc1226..043732e8b 100644 --- a/port/stm32-f4discovery-cc256x/src/hal_audio_f4discovery.c +++ b/port/stm32-f4discovery-cc256x/src/hal_audio_f4discovery.c @@ -177,7 +177,7 @@ void hal_audio_sink_stop(void){ */ void hal_audio_sink_close(void){ if (playback_started){ - hal_audio_sink_close(); + hal_audio_sink_stop(); } }