- Reworked the connection object and the IO system
- Reworked the support for TRICS - Added a second generation motor
This commit is contained in:
6
sinfox.c
6
sinfox.c
@@ -175,13 +175,17 @@ static int SinfoxInit(SicsInterp *pSics, char *infofile)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
/*
|
||||
pCon->iFiles = 1;
|
||||
pCon->pFiles[0] = stdout;
|
||||
|
||||
*/
|
||||
|
||||
/* evaluate the file */
|
||||
sprintf(pBuf,"fileeval %s",infofile);
|
||||
iRet = InterpExecute(pSics,pCon,pBuf);
|
||||
/*
|
||||
pCon->iFiles = 0;
|
||||
*/
|
||||
SCDeleteConnection(pCon);
|
||||
|
||||
return iRet;
|
||||
|
||||
Reference in New Issue
Block a user