- Refactored histogram memory code a little
- motor driver for ECB now fully working - Fixed an anticollider bug - Untested version of a driver for the Risoe TDC histogram memory
This commit is contained in:
11
histsim.c
11
histsim.c
@ -58,7 +58,7 @@
|
||||
*/
|
||||
static int iSet = 0;
|
||||
static HistInt iSetVal = 0;
|
||||
|
||||
static HistMode eHistMode;
|
||||
/*--------------------------------------------------------------------------*/
|
||||
static int SimConfig(pHistDriver self, SConnection *pCon,
|
||||
pStringDict pOption, SicsInterp *pSics)
|
||||
@ -67,14 +67,13 @@
|
||||
char pData[132];
|
||||
float fFail;
|
||||
|
||||
if(self->eHistMode == eHTOF)
|
||||
if(eHistMode == eHTOF)
|
||||
{
|
||||
for(i = 0; i < self->nDim; i++)
|
||||
for(i = 0; i < self->data->rank; i++)
|
||||
{
|
||||
iLength *= self->iDims[i];
|
||||
iLength *= self->data->iDim[i];
|
||||
}
|
||||
iLength *= self->iTimeChan;
|
||||
self->iLength = iLength;
|
||||
iLength *= self->data->nTimeChan;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user