diff src/g23m-aci/aci/ati_audio.c @ 180:e69e6b9a28b5

src/g23m-aci: sync with Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 04 Jan 2020 21:44:15 +0000
parents 7409b22cac61
children
line wrap: on
line diff
--- a/src/g23m-aci/aci/ati_audio.c	Sat Jan 04 21:38:55 2020 +0000
+++ b/src/g23m-aci/aci/ati_audio.c	Sat Jan 04 21:44:15 2020 +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 )
 {
@@ -167,7 +167,7 @@
 	return (ATI_CMPL);
 }
 
-#ifdef CONFIG_TARGET_FCMODEM
+#ifdef CONFIG_MCSI_MODEM
 extern UBYTE aci_digital_voice_autoswitch;
 
 /* AT@VPATH - configure digital voice path */