- Implemented defpos for multiple motors
- Implemented automatic backup on parameter change - Implemented silent restore - Cleaned a couple of unused flags from connection object
This commit is contained in:
7
ecb.c
7
ecb.c
@@ -14,6 +14,7 @@
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <tcl.h>
|
||||
#include <unistd.h>
|
||||
#include "fortify.h"
|
||||
#include "sics.h"
|
||||
#include "ecb.h"
|
||||
@@ -291,8 +292,10 @@ int ECBAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
Only managers will be allowed to wrestle directly with ECB
|
||||
controllers.
|
||||
*/
|
||||
if(!SCMatchRights(pCon,usMugger)){
|
||||
return 0;
|
||||
if(!SCinMacro(pCon)){
|
||||
if(!SCMatchRights(pCon,usMugger)){
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
if(argc < 2){
|
||||
|
||||
Reference in New Issue
Block a user