From 060f8933f79bb5271e68297cfa7a5e18a05b42e9 Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Wed, 5 Jun 2024 20:10:17 +0200 Subject: [PATCH] Fixed no audio mute on AF scan with MPX output --- src/TEF6686.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TEF6686.cpp b/src/TEF6686.cpp index e8fd6bf..dee6e11 100644 --- a/src/TEF6686.cpp +++ b/src/TEF6686.cpp @@ -21,7 +21,7 @@ void TEF6686::TestAFEON() { byte timing; if (af_counter != 0) { - devTEF_Audio_Set_Mute(1); + setMute(); for (int x = 0; x < af_counter; x++) { timing = 0; devTEF_Set_Cmd(TEF_FM, Cmd_Tune_To, 7, 3, af[x].frequency); @@ -49,7 +49,7 @@ void TEF6686::TestAFEON() { } } devTEF_Set_Cmd(TEF_FM, Cmd_Tune_To, 7, 4, currentfreq); - if (!mute) devTEF_Audio_Set_Mute(0); + if (!mute) setUnMute(); } uint16_t TEF6686::TestAF() {