# HG changeset patch # User Mychaela Falconia # Date 1636408349 0 # Node ID bba917c3b510461bcee983f979330eef28c764eb # Parent d9e3f3e293acd4ac3dc344efadf298b68bec97bf 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. diff -r d9e3f3e293ac -r bba917c3b510 src/g23m-aci/aci/ati_sim.c --- 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;