mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 16:27:13 +02:00
format GUI
This commit is contained in:
@ -344,9 +344,8 @@ uint32_t Listener::ListenToAnImage(char *buf) {
|
||||
// copy packet
|
||||
switch (myDetectorType) {
|
||||
// for gotthard, 1st packet: 4 bytes fnum, CACA
|
||||
// + CACA, 639*2 bytes data 2nd packet: 4 bytes
|
||||
// fnum, previous 1*2 bytes
|
||||
// data + 640*2 bytes data !!
|
||||
// + CACA, 639*2 bytes data 2nd packet: 4
|
||||
// bytes fnum, previous 1*2 bytes data + 640*2 bytes data !!
|
||||
case GOTTHARD:
|
||||
if (!pnum)
|
||||
memcpy(buf + fifohsize, &carryOverPacket[hsize + 4], dsize - 2);
|
||||
@ -515,9 +514,8 @@ uint32_t Listener::ListenToAnImage(char *buf) {
|
||||
// copy packet
|
||||
switch (myDetectorType) {
|
||||
// for gotthard, 1st packet: 4 bytes fnum, CACA
|
||||
// + CACA, 639*2 bytes data 2nd packet: 4 bytes
|
||||
// fnum, previous 1*2 bytes
|
||||
// data + 640*2 bytes data !!
|
||||
// + CACA, 639*2 bytes data 2nd packet: 4
|
||||
// bytes fnum, previous 1*2 bytes data + 640*2 bytes data !!
|
||||
case GOTTHARD:
|
||||
if (!pnum)
|
||||
memcpy(buf + fifohsize + (pnum * dsize),
|
||||
|
Reference in New Issue
Block a user