- Changes to amorset to make polarisation analysis work

- Added yet another monitor to POLDI
This commit is contained in:
koennecke
2009-10-30 13:50:49 +00:00
parent b3e425b965
commit 4aca8c9e94
4 changed files with 75 additions and 41 deletions

View File

@ -261,15 +261,16 @@ static int TDCHalt(pHistDriver self)
assert(tdc);
tdc->errorCode = 0;
if (tdc->counter != NULL) {
tdc->counter->pDriv->Halt(tdc->counter->pDriv);
}
status = disableTdc(tdc);
if (status != 1) {
tdc->errorCode = COMMERROR;
return HWFault;
}
if (tdc->counter != NULL) {
tdc->counter->pDriv->Halt(tdc->counter->pDriv);
}
return 1;
}