mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
ctb and moench: wrong firmware will set numchannels to 0 and this will throw when updating detector size, binaries in
This commit is contained in:
Binary file not shown.
@ -53,10 +53,10 @@ char *digitalData = 0;
|
||||
char volatile *analogDataPtr = 0;
|
||||
char volatile *digitalDataPtr = 0;
|
||||
char udpPacketData[UDP_PACKET_DATA_BYTES + sizeof(sls_detector_header)];
|
||||
uint32_t adcEnableMask_1g = 0;
|
||||
uint32_t adcEnableMask_1g = BIT32_MSK;
|
||||
|
||||
// 10g readout
|
||||
uint8_t adcEnableMask_10g = 0;
|
||||
uint8_t adcEnableMask_10g = BIT32_MSK;
|
||||
|
||||
int32_t clkPhase[NUM_CLOCKS] = {};
|
||||
uint32_t clkFrequency[NUM_CLOCKS] = {40, 20, 20, 200};
|
||||
@ -480,8 +480,8 @@ void setupDetector() {
|
||||
dacValues[i] = -1;
|
||||
vLimit = DEFAULT_VLIMIT;
|
||||
highvoltage = 0;
|
||||
adcEnableMask_1g = 0;
|
||||
adcEnableMask_10g = 0;
|
||||
adcEnableMask_1g = BIT32_MSK;
|
||||
adcEnableMask_10g = BIT32_MSK;
|
||||
nSamples = 1;
|
||||
#ifdef VIRTUAL
|
||||
sharedMemory_setStatus(IDLE);
|
||||
|
Reference in New Issue
Block a user