FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/layer1/cfile/l1_drive.c @ 96:065ebe468750
l1_drive.c: difference in DSP workaround preprocessor symbols
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Thu, 07 Apr 2016 16:01:15 +0000 |
parents | 6062d349e747 |
children | 784c1f136e67 |
comparison
equal
deleted
inserted
replaced
95:6062d349e747 | 96:065ebe468750 |
---|---|
13 | 13 |
14 #if (RF_FAM == 61) | 14 #if (RF_FAM == 61) |
15 #include "apc.h" | 15 #include "apc.h" |
16 #endif | 16 #endif |
17 | 17 |
18 #if ((W_A_WAIT_DSP_RESTART_AFTER_VOCODER_ENABLE ==1)&&(W_A_DSP_PR20037 == 1)) | 18 #define W_A_DSP_PR20037 1 /* FreeCalypso */ |
19 | |
20 #if ((L1M_WAIT_DSP_RESTART_AFTER_VOCODER_ENABLE ==1)&&(W_A_DSP_PR20037 == 1)) | |
19 #include "nucleus.h" | 21 #include "nucleus.h" |
20 #endif | 22 #endif |
21 #include "l1_macro.h" | 23 #include "l1_macro.h" |
22 #if (CODE_VERSION == SIMULATION) | 24 #if (CODE_VERSION == SIMULATION) |
23 #include <string.h> | 25 #include <string.h> |
813 #if (W_A_DSP_PR20037 == 1) | 815 #if (W_A_DSP_PR20037 == 1) |
814 if ((vocoder==TRUE) && (l1a_l1s_com.dedic_set.start_vocoder == TCH_VOCODER_DISABLED)) | 816 if ((vocoder==TRUE) && (l1a_l1s_com.dedic_set.start_vocoder == TCH_VOCODER_DISABLED)) |
815 { | 817 { |
816 l1a_l1s_com.dedic_set.start_vocoder = TCH_VOCODER_ENABLE_REQ; | 818 l1a_l1s_com.dedic_set.start_vocoder = TCH_VOCODER_ENABLE_REQ; |
817 | 819 |
818 #if ( W_A_WAIT_DSP_RESTART_AFTER_VOCODER_ENABLE ==1) | 820 #if ( L1M_WAIT_DSP_RESTART_AFTER_VOCODER_ENABLE ==1) |
819 NU_Sleep(DSP_VOCODER_ON_TRANSITION); // DSP transition | 821 NU_Sleep(DSP_VOCODER_ON_TRANSITION); // DSP transition |
820 #endif | 822 #endif |
821 } | 823 } |
822 // When vocoder_on = FALSE, vocoder module is not executed | 824 // When vocoder_on = FALSE, vocoder module is not executed |
823 else if ((vocoder==FALSE) && (l1a_l1s_com.dedic_set.start_vocoder == TCH_VOCODER_ENABLED)) | 825 else if ((vocoder==FALSE) && (l1a_l1s_com.dedic_set.start_vocoder == TCH_VOCODER_ENABLED)) |