- Fixed a bug in hklscan: core dump when writing to file
- Fixed two small issues with evcontroller: no test for privilege on drive - Many changes to AMOR software.
This commit is contained in:
@ -917,7 +917,7 @@
|
||||
if(iRet)
|
||||
{
|
||||
sprintf(pBueffel,"%s.%s = %f",self->pName,"CurrentValue", fPos);
|
||||
SCWrite(pCon,pBueffel,eError);
|
||||
SCWrite(pCon,pBueffel,eValue);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
@ -955,6 +955,10 @@
|
||||
iRet = Tcl_GetDouble(pSics->pTcl,argv[1],&dVal);
|
||||
if(iRet == TCL_OK) /* float Value: drive */
|
||||
{
|
||||
if(!SCMatchRights(pCon,usUser))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
iRet = EVCDrive(self,pCon,(float)dVal);
|
||||
if(iRet)
|
||||
{
|
||||
|
Reference in New Issue
Block a user