File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ int32 SCH_LAB_AppInit(void)
144144 SCH_LAB_ScheduleTable_t * ConfigTable ;
145145 SCH_LAB_ScheduleTableEntry_t * ConfigEntry ;
146146 SCH_LAB_StateEntry_t * LocalStateEntry ;
147+ void * TableAddr ;
147148
148149 memset (& SCH_LAB_Global , 0 , sizeof (SCH_LAB_Global ));
149150
@@ -177,7 +178,7 @@ int32 SCH_LAB_AppInit(void)
177178 /*
178179 ** Get Table Address
179180 */
180- Status = CFE_TBL_GetAddress (( void * * ) & ConfigTable , SCH_LAB_Global .TblHandle );
181+ Status = CFE_TBL_GetAddress (& TableAddr , SCH_LAB_Global .TblHandle );
181182 if (Status != CFE_SUCCESS && Status != CFE_TBL_INFO_UPDATED )
182183 {
183184 CFE_ES_WriteToSysLog ("SCH_LAB: Error Getting Table's Address SCH_LAB_SchTbl, RC = 0x%08lX\n" ,
@@ -189,6 +190,7 @@ int32 SCH_LAB_AppInit(void)
189190 /*
190191 ** Initialize the command headers
191192 */
193+ ConfigTable = TableAddr ;
192194 ConfigEntry = ConfigTable -> Config ;
193195 LocalStateEntry = SCH_LAB_Global .State ;
194196 for (i = 0 ; i < SCH_LAB_MAX_SCHEDULE_ENTRIES ; i ++ )
You can’t perform that action at this time.
0 commit comments