- Changes to amorset to make polarisation analysis work
- Added yet another monitor to POLDI
This commit is contained in:
7
tdchm.c
7
tdchm.c
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user