stm32-f4discovery-cc256x: audio hal stop stream on close

This commit is contained in:
Matthias Ringwald 2019-03-10 16:26:15 +01:00
parent 163d9175bb
commit bc4cd0ef3e

View File

@ -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();
}
}