# HG changeset patch # User Mychaela Falconia # Date 1445534497 0 # Node ID 428835f700ef515b547e3e64ef001ec690167c68 # Parent 757ae82219de97db4ed90a867ad2f2ba1a547cbc l1_dyn_dwl_func.c compiles diff -r 757ae82219de -r 428835f700ef chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_func.c --- a/chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_func.c Thu Oct 22 17:04:26 2015 +0000 +++ b/chipsetsw/layer1/dyn_dwl_cfile/l1_dyn_dwl_func.c Thu Oct 22 17:21:37 2015 +0000 @@ -72,9 +72,9 @@ { UWORD16 patch_size = 0; - /* Initialize download patch parameters*/ - l1_apihisr.dyn_dwnld.running_source_pointer = 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].start_MCU_copy_address; - patch_size = 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].size_array; + /* Initialize download patch parameters */ + l1_apihisr.dyn_dwnld.running_source_pointer = l1a_apihisr_com.dyn_dwnld.copy_parameters.start_MCU_copy_address[l1a_apihisr_com.dyn_dwnld.copy_parameters.num_of_elem-l1_apihisr.dyn_dwnld.patch_ids_counter]; + patch_size = l1a_apihisr_com.dyn_dwnld.copy_parameters.size_array[l1a_apihisr_com.dyn_dwnld.copy_parameters.num_of_elem-l1_apihisr.dyn_dwnld.patch_ids_counter]; dyn_dwl_ndb->d_api_dwl_crc = 0x0; return patch_size; }