moved asInit and added arg (NULL)

This commit is contained in:
Marty Kraimer
1994-04-11 08:50:35 +00:00
parent e95aaed3e9
commit 0746c559e3

View File

@@ -190,6 +190,7 @@ int iocInit(char * pResourceFilename)
if(finishDevSup()!=0) logMsg("iocInit: Device Support Failed during Finalization\n",0,0,0,0,0,0);
if (pinitHooks) (*pinitHooks)(INITHOOKafterFinishDevSup);
scanInit();
asInit(NULL);
/* wait 1/2 second to make sure all tasks are started*/
(void)taskDelay(sysClkRateGet()/2);
if (pinitHooks) (*pinitHooks)(INITHOOKafterScanInit);
@@ -197,7 +198,6 @@ int iocInit(char * pResourceFilename)
if (pinitHooks) (*pinitHooks)(INITHOOKafterInterruptAccept);
if(initialProcess()!=0) logMsg("iocInit: initialProcess Failed\n",0,0,0,0,0,0);
if (pinitHooks) (*pinitHooks)(INITHOOKafterInitialProcess);
asInit();
rsrv_init();
logMsg("iocInit: All initialization complete\n",0,0,0,0,0,0);
if (pinitHooks) (*pinitHooks)(INITHOOKatEnd);