Fixed a bug with restarting after mipositioning in motorsec.c
This commit is contained in:
@ -269,9 +269,6 @@ static int checkPosition(pMotor self, SConnection * pCon)
|
||||
node = GetHipadabaNode(self->pDescriptor->parNode, "hardposition");
|
||||
assert(node != NULL);
|
||||
SetHipadabaPar(node, MakeHdbFloat(target), pCon);
|
||||
node = GetHipadabaNode(self->pDescriptor->parNode, "targetposition");
|
||||
assert(node != NULL);
|
||||
UpdateHipadabaPar(node, MakeHdbFloat(target), pCon);
|
||||
return HWBusy;
|
||||
}
|
||||
return HWIdle;
|
||||
|
Reference in New Issue
Block a user