- Fixed a couple of small things with the TAS code

- Fixed new AMOR settings module
- Initial implementation of the new SICS hierarchical parameter database
This commit is contained in:
koennecke
2006-06-23 13:05:08 +00:00
parent 746ac6097a
commit 37e18effc6
3 changed files with 24 additions and 33 deletions

14
sps.c
View File

@@ -557,7 +557,6 @@
}
return 1;
}
#include "access.c"
/*-------------------------------------------------------------------------*/
int SPSAction(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[])
@@ -755,17 +754,8 @@
}
/* try to convert user code */
strtolower(argv[4]);
iSet = -10;
i = 0;
while(aCode[i] != NULL)
{
if(strcmp(aCode[i],argv[4]) == 0)
{
iSet = i;
break;
}
i++;
}
iSet = 0;
iSet = decodeSICSPriv(argv[4]);
if(iSet < 0)
{
sprintf(pBueffel,"ERROR: %s is not valid user code",argv[4]);