First commit towards replacing pCon-> with someFunc(pCon)
This is accompanied with the removal of dead code in conman.c and else
This commit is contained in:
2
motreg.c
2
motreg.c
@ -118,7 +118,7 @@ int StartRegMot(pMotReg self, SConnection * pCon, float fValue)
|
||||
pDriv->SetValue = self->originalSetValue;
|
||||
ret = StartDevice(pServ->pExecutor, self->motorName,
|
||||
FindDescriptor(self->motorData),
|
||||
self->motorData, pCon, pCon->runLevel, fValue);
|
||||
self->motorData, pCon, SCGetRunLevel(pCon), fValue);
|
||||
/*
|
||||
snprintf(pBueffel,sizeof(pBueffel)-1,"anticollision started %s to %f",self->motorName,
|
||||
fValue);
|
||||
|
Reference in New Issue
Block a user