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");
|
node = GetHipadabaNode(self->pDescriptor->parNode, "hardposition");
|
||||||
assert(node != NULL);
|
assert(node != NULL);
|
||||||
SetHipadabaPar(node, MakeHdbFloat(target), pCon);
|
SetHipadabaPar(node, MakeHdbFloat(target), pCon);
|
||||||
node = GetHipadabaNode(self->pDescriptor->parNode, "targetposition");
|
|
||||||
assert(node != NULL);
|
|
||||||
UpdateHipadabaPar(node, MakeHdbFloat(target), pCon);
|
|
||||||
return HWBusy;
|
return HWBusy;
|
||||||
}
|
}
|
||||||
return HWIdle;
|
return HWIdle;
|
||||||
|
Reference in New Issue
Block a user