- Fixed sign problems with om in tasub
- Mended tasdrive to drive energy even if Q is askew - Fixed QM values - Fixed problems in mesure: om2th, wrong theta selection - Fixed core dump when driving h,kl, failed
This commit is contained in:
2
hklmot.c
2
hklmot.c
@ -107,10 +107,10 @@ static int HKLCheckStatus(void *pData, SConnection *pCon){
|
||||
assert(self != NULL);
|
||||
if(self->pHkl->targetDirty == 1){
|
||||
status = RunHKL(self->pHkl,self->pHkl->targetHKL,.0,0,pCon);
|
||||
self->pHkl->targetDirty = 0;
|
||||
if(status != 1){
|
||||
return HWFault;
|
||||
}
|
||||
self->pHkl->targetDirty = 0;
|
||||
return HWBusy;
|
||||
} else {
|
||||
return checkMotors(self,pCon);
|
||||
|
Reference in New Issue
Block a user