diff src/g23m-aci/aci/ati_audio.c @ 628:38a65c3a96af

aci2 & aci3: AT@SPKR conditionalized on GPIO1_SPEAKER_CTRL new preprocessor symbol
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 23 Dec 2019 07:30:59 +0000
parents 92dbfa906f66
children 597869e59805
line wrap: on
line diff
--- a/src/g23m-aci/aci/ati_audio.c	Mon Dec 23 07:12:10 2019 +0000
+++ b/src/g23m-aci/aci/ati_audio.c	Mon Dec 23 07:30:59 2019 +0000
@@ -69,7 +69,7 @@
 #include "fc-target.h"
 #include "armio.h"
 
-#if defined(CONFIG_TARGET_DSAMPLE) || defined(CONFIG_TARGET_FCFAM)
+#if GPIO1_SPEAKER_CTRL
 /* AT@SPKR - turn loudspeaker amplifier on or off */
 GLOBAL T_ATI_RSLT atAtSPKR ( char *cl, UBYTE srcId )
 {