mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 17:47:59 +02:00
bug fix for previous commit to work for bottom module
This commit is contained in:
@ -1233,8 +1233,8 @@ int Beb_SetDetectorPosition(int pos[]) {
|
||||
Beb_positions[2] = pos[2];
|
||||
|
||||
// get left and right
|
||||
int posLeft[3] = {pos[0], pos[1], pos[2]};
|
||||
int posRight[3] = {pos[0], pos[1] + 1, pos[2]};
|
||||
int posLeft[3] = {pos[0], Beb_top ? pos[1] : pos[1] + 1, pos[2]};
|
||||
int posRight[3] = {pos[0], Beb_top ? pos[1] + 1 : pos[1], pos[2]};
|
||||
|
||||
if (Beb_quadEnable) {
|
||||
posRight[0] = 1; // right is next row
|
||||
|
BIN
slsDetectorSoftware/eigerDetectorServer/bin/eigerDetectorServerv4.0.3.23.0
Executable file
BIN
slsDetectorSoftware/eigerDetectorServer/bin/eigerDetectorServerv4.0.3.23.0
Executable file
Binary file not shown.
@ -330,7 +330,7 @@ public:
|
||||
}
|
||||
|
||||
#ifdef VERBOSE
|
||||
//if(!index)
|
||||
if(!index)
|
||||
cprintf(BLUE,"%d : Streamer: buf: %s\n", index, buf);
|
||||
#endif
|
||||
|
||||
|
@ -282,7 +282,7 @@ int DataStreamer::SendHeader(sls_receiver_header* rheader, uint32_t size, uint32
|
||||
header.modId, header.row, header.column, header.reserved,
|
||||
header.debug, header.roundRNumber,
|
||||
header.detType, header.version,
|
||||
gapPixelsEnable ? 1 : 0, flippedData,
|
||||
*gapPixelsEnable ? 1 : 0, flippedData,
|
||||
additionJsonHeader
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user