- Many fixes to accomodate a nitty picky TRICS wishlist
- Added a log facility to scan which includes a variable which is logged but not driven during a scan. - Fixed normal beam operation
This commit is contained in:
14
drive.c
14
drive.c
@ -453,14 +453,24 @@
|
||||
assert(pCon);
|
||||
assert(pSics);
|
||||
|
||||
iRet = AddCommand(pSics,"drive", DriveWrapper,NULL,NULL);
|
||||
if(argc > 1)
|
||||
{
|
||||
iRet = AddCommand(pSics,argv[1], DriveWrapper,NULL,NULL);
|
||||
} else {
|
||||
iRet = AddCommand(pSics,"drive", DriveWrapper,NULL,NULL);
|
||||
}
|
||||
if(!iRet)
|
||||
{
|
||||
sprintf(pBueffel,"ERROR: duplicate command drive not created");
|
||||
SCWrite(pCon,pBueffel,eError);
|
||||
return 0;
|
||||
}
|
||||
iRet = AddCommand(pSics,"run", RunWrapper,NULL,NULL);
|
||||
if(argc < 2)
|
||||
{
|
||||
iRet = AddCommand(pSics,argv[2], RunWrapper,NULL,NULL);
|
||||
} else {
|
||||
iRet = AddCommand(pSics,"run", RunWrapper,NULL,NULL);
|
||||
}
|
||||
if(!iRet)
|
||||
{
|
||||
sprintf(pBueffel,"ERROR: duplicate command run not created");
|
||||
|
Reference in New Issue
Block a user