FreeCalypso > hg > freecalypso-citrine
comparison L1/cfile/l1_sync.c @ 9:b80f0c5016ee
L1/cfile: new code compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 Jun 2016 06:28:19 +0000 |
parents | b36540edb046 |
children |
comparison
equal
deleted
inserted
replaced
8:b36540edb046 | 9:b80f0c5016ee |
---|---|
6 * Copyright 2003 (C) Texas Instruments | 6 * Copyright 2003 (C) Texas Instruments |
7 * | 7 * |
8 ************* Revision Controle System Header *************/ | 8 ************* Revision Controle System Header *************/ |
9 | 9 |
10 //#pragma DUPLICATE_FOR_INTERNAL_RAM_START | 10 //#pragma DUPLICATE_FOR_INTERNAL_RAM_START |
11 #include "config.h" | |
12 #include "l1_confg.h" | |
11 #include "l1_macro.h" | 13 #include "l1_macro.h" |
12 #include "l1_confg.h" | |
13 //#pragma DUPLICATE_FOR_INTERNAL_RAM_END | 14 //#pragma DUPLICATE_FOR_INTERNAL_RAM_END |
14 | 15 |
15 #if !((MOVE_IN_INTERNAL_RAM == 1) && (GSM_IDLE_RAM !=0)) // MOVE TO INTERNAL MEM IN CASE GSM_IDLE_RAM enabled | 16 #if !((MOVE_IN_INTERNAL_RAM == 1) && (GSM_IDLE_RAM !=0)) // MOVE TO INTERNAL MEM IN CASE GSM_IDLE_RAM enabled |
16 //#pragma GSM_IDLE_DUPLICATE_FOR_INTERNAL_RAM_START // KEEP IN EXTERNAL MEM otherwise | 17 //#pragma GSM_IDLE_DUPLICATE_FOR_INTERNAL_RAM_START // KEEP IN EXTERNAL MEM otherwise |
17 #define L1_SYNC_C | 18 #define L1_SYNC_C |
127 #if (L1_MIDI == 1) | 128 #if (L1_MIDI == 1) |
128 #include "l1midi_defty.h" | 129 #include "l1midi_defty.h" |
129 #endif | 130 #endif |
130 | 131 |
131 #include "l1_defty.h" | 132 #include "l1_defty.h" |
132 #include "cust_os.h" | 133 #include "../../gpf/inc/cust_os.h" |
133 #include "l1_msgty.h" | 134 #include "l1_msgty.h" |
134 #include "l1_varex.h" | 135 #include "l1_varex.h" |
135 #include "l1_proto.h" | 136 #include "l1_proto.h" |
136 #include "l1_mftab.h" | 137 #include "l1_mftab.h" |
137 #include "l1_tabs.h" | 138 #include "l1_tabs.h" |
7996 /* | 7997 /* |
7997 * FreeCalypso: the following code has been reconstructed from the | 7998 * FreeCalypso: the following code has been reconstructed from the |
7998 * TCS211 binary object; it appears neither in the LoCosto nor | 7999 * TCS211 binary object; it appears neither in the LoCosto nor |
7999 * in the TSM30 source. | 8000 * in the TSM30 source. |
8000 */ | 8001 */ |
8001 #if (AEC) | 8002 #if (AUDIO_TASK && AEC) |
8002 if((l1s.aec.aec_control & 0x0002) || (l1s.aec.aec_control & 0x0004)) { | 8003 if((l1s.aec.aec_control & 0x0002) || (l1s.aec.aec_control & 0x0004)) { |
8003 l1s.aec.aec_control = l1a_l1s_com.aec_task.parameters.aec_control | 8004 l1s.aec.aec_control = l1a_l1s_com.aec_task.parameters.aec_control |
8004 | 0x0001; | 8005 | 0x0001; |
8005 l1s_dsp_com.dsp_ndb_ptr->d_aec_ctrl = l1s.aec.aec_control; | 8006 l1s_dsp_com.dsp_ndb_ptr->d_aec_ctrl = l1s.aec.aec_control; |
8006 } | 8007 } |