comparison src/g23m-aci/aci/ati_audio.c @ 163:a911ac771094

board preprocessor conditionals: prep for more FC hw in the future Please see the corresponding change in fc-magnetite for the explanation.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 01 Apr 2019 01:20:03 +0000
parents 8c5d012b9c4d
children 7409b22cac61
comparison
equal deleted inserted replaced
162:8c5d012b9c4d 163:a911ac771094
67 #include "audio.h" /* Condat */ 67 #include "audio.h" /* Condat */
68 68
69 #include "fc-target.cfg" 69 #include "fc-target.cfg"
70 #include "armio.h" 70 #include "armio.h"
71 71
72 #if defined(CONFIG_TARGET_DSAMPLE) || defined(CONFIG_TARGET_FCDEV3B) 72 #if defined(CONFIG_TARGET_DSAMPLE) || defined(CONFIG_TARGET_FCFAM)
73 /* AT@SPKR - turn loudspeaker amplifier on or off */ 73 /* AT@SPKR - turn loudspeaker amplifier on or off */
74 GLOBAL T_ATI_RSLT atAtSPKR ( char *cl, UBYTE srcId ) 74 GLOBAL T_ATI_RSLT atAtSPKR ( char *cl, UBYTE srcId )
75 { 75 {
76 int state; 76 int state;
77 77
165 io_sendMessage(srcId, g_sa, ATI_NORMAL_OUTPUT); 165 io_sendMessage(srcId, g_sa, ATI_NORMAL_OUTPUT);
166 166
167 return (ATI_CMPL); 167 return (ATI_CMPL);
168 } 168 }
169 169
170 #ifdef CONFIG_TARGET_FCDEV3B 170 #ifdef CONFIG_TARGET_FCMODEM
171 extern UBYTE aci_digital_voice_autoswitch; 171 extern UBYTE aci_digital_voice_autoswitch;
172 172
173 /* AT@VPATH - configure digital voice path */ 173 /* AT@VPATH - configure digital voice path */
174 GLOBAL T_ATI_RSLT atAtVPATH ( char *cl, UBYTE srcId ) 174 GLOBAL T_ATI_RSLT atAtVPATH ( char *cl, UBYTE srcId )
175 { 175 {