# HG changeset patch # User Mychaela Falconia # Date 1457067614 0 # Node ID da708f6be90f2014ee9f1371ba09a0effcded1f5 # Parent 576e684603e0489fe4d50866f586bae7d3ca3560 l1_api_hisr.c made to match the original diff -r 576e684603e0 -r da708f6be90f chipsetsw/layer1/cfile/l1_api_hisr.c --- a/chipsetsw/layer1/cfile/l1_api_hisr.c Fri Mar 04 04:41:52 2016 +0000 +++ b/chipsetsw/layer1/cfile/l1_api_hisr.c Fri Mar 04 05:00:14 2016 +0000 @@ -140,6 +140,8 @@ #endif // (L1_MP3 == 1) || (L1_MIDI == 1) || (L1_DYN_DSP_DWNLD == 1) #endif //(FF_L1_IT_DSP_USF == 1) || //(FF_L1_IT_DSP_DTX == 1) +#if 0 /* FreeCalypso Frankenstein */ +/* This is the original LoCosto code */ //When Fast USF is not enabled, then the API HISR needs to be called every time the DSP //sends a HINT interrupt. @@ -150,6 +152,18 @@ #endif //NU_Activate_HISR(&apiHISR); //hack remove return; + +#else + +/* reconstruction of what the TCS211 code was probably like */ +#if (L1_DYN_DSP_DWNLD == 1) + if( l1_apihisr.dyn_dwnld.running == TRUE ) + { + NU_Activate_HISR(&apiHISR); + } +#endif + +#endif } /*-------------------------------------------------------------*/ @@ -192,6 +206,7 @@ } +#if 0 /* FreeCalypso */ /*-------------------------------------------------------------*/ /* api_modem_hisr() */ /*-------------------------------------------------------------*/ @@ -228,6 +243,7 @@ } #endif } +#endif /* FreeCalypso */ /*-------------------------------------------------------------*/ /* l1_trigger_api_interrupt() */