diff src/g23m-aci/aci/hl_audio_drv.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
line wrap: on
line diff
--- a/src/g23m-aci/aci/hl_audio_drv.c	Thu Mar 28 00:36:10 2019 +0000
+++ b/src/g23m-aci/aci/hl_audio_drv.c	Mon Apr 01 01:20:03 2019 +0000
@@ -38,7 +38,7 @@
 
 LOCAL  T_HL_VOCODER_STATE currVocoderState;
 
-#ifdef CONFIG_TARGET_FCDEV3B
+#ifdef CONFIG_TARGET_FCMODEM
 GLOBAL UBYTE aci_digital_voice_autoswitch;
 #endif
 
@@ -69,7 +69,7 @@
   currVocoderState = HL_VOCODER_DISABLED;
 }
 
-#ifdef CONFIG_TARGET_FCDEV3B
+#ifdef CONFIG_TARGET_FCMODEM
 static void audio_mode_callback(void *event_from_audio)
 {
 	/* do nothing at this time */
@@ -89,7 +89,7 @@
 */
 GLOBAL void hl_drv_set_vocoder_state(BOOL user_attach)
 {
-#ifdef CONFIG_TARGET_FCDEV3B
+#ifdef CONFIG_TARGET_FCMODEM
   T_AUDIO_VOICE_PATH_SETTING vpath;
   T_AUDIO_FULL_ACCESS_WRITE audio_param;
   T_RV_RETURN return_path;
@@ -106,7 +106,7 @@
     enable_tch_vocoder(TRUE);
     vocoder_mute_dl (FALSE);      /* un-mute speaker    */
     vocoder_mute_ul (FALSE);      /* un-mute microphone */
-  #ifdef CONFIG_TARGET_FCDEV3B
+  #ifdef CONFIG_TARGET_FCMODEM
     if (aci_digital_voice_autoswitch)
     {
       vpath = AUDIO_BLUETOOTH_HEADSET;
@@ -124,7 +124,7 @@
     vocoder_mute_dl (TRUE);       /* mute speaker    */
     vocoder_mute_ul (TRUE);       /* mute microphone */
     enable_tch_vocoder (FALSE);   /* disable vocoder */
-  #ifdef CONFIG_TARGET_FCDEV3B
+  #ifdef CONFIG_TARGET_FCMODEM
     if (aci_digital_voice_autoswitch)
     {
       vpath = AUDIO_GSM_VOICE_PATH;