Removed ref to dmc motor controller in the getParam error message.
r1043 | ffr | 2006-08-04 12:20:57 +1000 (Fri, 04 Aug 2006) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
c588e389aa
commit
667c505bf7
@@ -18,7 +18,7 @@ char *getParam(SConnection *pCon, Tcl_Interp *pTcl, char *params, char *parName,
|
||||
char pError[ERRLEN];
|
||||
pPtr = Tcl_GetVar2(pTcl,params,parName,TCL_GLOBAL_ONLY);
|
||||
if((mustHave == _REQUIRED) && !pPtr){
|
||||
snprintf(pError, ERRLEN,"ERROR: No '%s' parameter given for dmc2280 motor", parName);
|
||||
snprintf(pError, ERRLEN,"ERROR: You must supply an '%s' parameter", parName);
|
||||
SCWrite(pCon,pError, eError);
|
||||
}
|
||||
return pPtr;
|
||||
|
||||
Reference in New Issue
Block a user