From 0746c559e3c32ff5ee6a0b1b466d3e5e192ccfba Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Mon, 11 Apr 1994 08:50:35 +0000 Subject: [PATCH] moved asInit and added arg (NULL) --- src/db/iocInit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/iocInit.c b/src/db/iocInit.c index 8b2483a8b..e7acacfe4 100644 --- a/src/db/iocInit.c +++ b/src/db/iocInit.c @@ -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);