diff --git a/packages/ti/sdo/edma3/rm/sample/src/sample_arm_init.c b/packages/ti/sdo/edma3/rm/sample/src/sample_arm_init.c
index e25564bebea9a819ca5dae49875c5c023c237c02..287ccc945b618386df7d0e6432104ab2ffdacecc 100644 (file)
#include <ti/sdo/edma3/rm/sample/bios6_edma3_rm_sample.h>
/** @brief EDMA3 Driver Instance specific Semaphore handle */
-extern EDMA3_OS_Sem_Handle rmSemHandle[EDMA3_MAX_EDMA3_INSTANCES];
+extern EDMA3_OS_Sem_Handle SemHandle[EDMA3_MAX_EDMA3_INSTANCES];
/** To Register the ISRs with the underlying OS, if required. */
extern void registerEdma3Interrupts (uint32_t edma3Id);
if (edma3Result == EDMA3_DRV_SOK)
{
/* Save the semaphore handle for future use */
- rmSemHandle[edma3Id] = initParam.rmSemHandle;
+ SemHandle[edma3Id] = initParam.rmSemHandle;
/* configuration structure for the Driver */
instanceConfig = &sampleInstInitConfig[edma3Id][dsp_num];
unregisterEdma3Interrupts(edma3Id);
/* Delete the semaphore */
- edma3Result = edma3OsSemDelete (rmSemHandle[edma3Id]);
+ edma3Result = edma3OsSemDelete (SemHandle[edma3Id]);
if (EDMA3_RM_SOK == edma3Result)
{
/* Make the semaphore handle as NULL. */
- rmSemHandle[edma3Id] = NULL;
+ SemHandle[edma3Id] = NULL;
/* Now, close the EDMA3 RM Instance */
edma3Result = EDMA3_RM_close (hEdma, NULL);