changeset 284:bba917c3b510

aci: don't reset audio volume on AT+CFUN TI's AT-command-controlled modems have always had the peculiar misfeature where the audio volume gets reset to default on AT+CFUN, blowing away any AT+CLVL changes made previously. This misfeature is now getting worse, now that the audio volume may be set as a side effect of audio mode loading, in addition to explicit AT+CLVL. So let's take out this unnecessary audio volume reset.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 08 Nov 2021 21:52:29 +0000
parents d9e3f3e293ac
children 59dff9a18e2a
files src/g23m-aci/aci/ati_sim.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/g23m-aci/aci/ati_sim.c	Mon Nov 08 02:54:04 2021 +0000
+++ b/src/g23m-aci/aci/ati_sim.c	Mon Nov 08 21:52:29 2021 +0000
@@ -657,8 +657,10 @@
     switch (ret)
     {
       case AT_EXCT:               /*Command is executing*/
+      #if 0	/* removed in FreeCalypso */
         audio_SetAmplf (AUDIO_MICROPHONE, (UBYTE)75);
         audio_SetAmplf (AUDIO_SPEAKER,    (UBYTE)175);
+      #endif
         src_params->curAtCmd    = AT_CMD_CFUN;
         break;