changeset 25:757ae82219de

l1_dyn_dwl_apihisr.c compiles
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Thu, 22 Oct 2015 17:04:26 +0000
parents 26666ef41058
children 428835f700ef
files chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_apihisr.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_apihisr.c	Thu Oct 22 16:59:26 2015 +0000
+++ b/chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_apihisr.c	Thu Oct 22 17:04:26 2015 +0000
@@ -42,7 +42,7 @@
 
 #include "l1_defty.h"
 #include "cust_os.h"
-#include "nu_main.h"
+/* #include "nu_main.h" */
 #include "l1audio_signa.h"
 #include "l1audio_cust.h"
 #include "l1_varex.h"
@@ -301,7 +301,7 @@
       if (dyn_dwl_ndb->d_api_dwl_download_ctrl == (API) C_DWL_DOWNLOAD_CTRL_DSP_ACK )
       {
         /* Test if CRC is OK */
-        if ( dyn_dwl_ndb->d_api_dwl_crc != l1a_apihisr_com.dyn_dwnld.copy_parameters.patch_data[l1a_apihisr_com.dyn_dwnld.copy_parameters.num_of_elem-l1_apihisr.dyn_dwnld.patch_ids_counter].crc)       /* CRC not OK */
+        if ( dyn_dwl_ndb->d_api_dwl_crc != l1a_apihisr_com.dyn_dwnld.copy_parameters.crc[l1a_apihisr_com.dyn_dwnld.copy_parameters.num_of_elem-l1_apihisr.dyn_dwnld.patch_ids_counter])       /* CRC not OK */
         {
           /* Send notification to L1A */
           conf_msg = os_alloc_sig(sizeof(T_API_L1_CRC_NOT_OK));
@@ -319,7 +319,7 @@
           conf_msg = os_alloc_sig(sizeof(T_API_L1_CRC_NOT_OK));
           DEBUGMSG(status,NU_ALLOC_ERR)
           conf_msg->SignalCode = API_L1_CRC_OK;
-          ((T_API_L1_CRC_NOT_OK *) (conf_msg->SigP))->patch_id = l1a_apihisr_com.dyn_dwnld.copy_parameters.patch_data[ l1a_apihisr_com.dyn_dwnld.copy_parameters.num_of_elem-l1_apihisr.dyn_dwnld.patch_ids_counter].crc;
+          ((T_API_L1_CRC_NOT_OK *) (conf_msg->SigP))->patch_id = l1a_apihisr_com.dyn_dwnld.copy_parameters.crc[l1a_apihisr_com.dyn_dwnld.copy_parameters.num_of_elem-l1_apihisr.dyn_dwnld.patch_ids_counter];
           os_send_sig(conf_msg,L1C1_QUEUE);
           DEBUGMSG(status,NU_SEND_QUEUE_ERR)
           *state = WAIT_INSTALL;
@@ -327,9 +327,9 @@
           /* Set install parameters */
           
           dyn_dwl_ndb->d_api_dwl_function_address[0] = 
-          (API) (l1a_apihisr_com.dyn_dwnld.copy_parameters.patch_data[l1a_apihisr_com.dyn_dwnld.copy_parameters.num_of_elem-l1_apihisr.dyn_dwnld.patch_ids_counter].address_to_install & 0x0000FFFF);
+          (API) (l1a_apihisr_com.dyn_dwnld.copy_parameters.address_to_install[l1a_apihisr_com.dyn_dwnld.copy_parameters.num_of_elem-l1_apihisr.dyn_dwnld.patch_ids_counter] & 0x0000FFFF);
           dyn_dwl_ndb->d_api_dwl_function_address[1] = 
-          (API) ((l1a_apihisr_com.dyn_dwnld.copy_parameters.patch_data[l1a_apihisr_com.dyn_dwnld.copy_parameters.num_of_elem-l1_apihisr.dyn_dwnld.patch_ids_counter].address_to_install >> 16) & 0x0000FFFF);
+          (API) ((l1a_apihisr_com.dyn_dwnld.copy_parameters.address_to_install[l1a_apihisr_com.dyn_dwnld.copy_parameters.num_of_elem-l1_apihisr.dyn_dwnld.patch_ids_counter] >> 16) & 0x0000FFFF);
 
           dyn_dwl_ndb->d_api_dwl_download_ctrl = (API) C_DWL_DOWNLOAD_CTRL_INSTALL;