mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 19:30:03 +02:00
Merge branch 'dev/scikitbuild' of github.com:slsdetectorgroup/slsDetectorPackage into dev/scikitbuild
This commit is contained in:
commit
c0bc6fe25a
Binary file not shown.
@ -10891,11 +10891,18 @@ int get_timing_info_decoder(int file_des) {
|
|||||||
functionNotImplemented();
|
functionNotImplemented();
|
||||||
#else
|
#else
|
||||||
// get only
|
// get only
|
||||||
ret = getTimingInfoDecoder(&retval);
|
if (isHardwareVersion_1_0()) {
|
||||||
LOG(logDEBUG1, ("retval timing info decoder: %d\n", retval));
|
ret = FAIL;
|
||||||
if (ret == FAIL) {
|
sprintf(mess, "Could not get timing info decoder. Not supported "
|
||||||
strcpy(mess, "Could not get timing info decoder\n");
|
"for hardware version 1.0\n");
|
||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
|
} else {
|
||||||
|
ret = getTimingInfoDecoder(&retval);
|
||||||
|
LOG(logDEBUG1, ("retval timing info decoder: %d\n", retval));
|
||||||
|
if (ret == FAIL) {
|
||||||
|
strcpy(mess, "Could not get timing info decoder\n");
|
||||||
|
LOG(logERROR, (mess));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return Server_SendResult(file_des, INT32, &retval, sizeof(retval));
|
return Server_SendResult(file_des, INT32, &retval, sizeof(retval));
|
||||||
|
@ -3236,7 +3236,7 @@ TEST_CASE("reg", "[.cmdcall]") {
|
|||||||
addr = 0x80;
|
addr = 0x80;
|
||||||
}
|
}
|
||||||
if (det_type == defs::GOTTHARD2) {
|
if (det_type == defs::GOTTHARD2) {
|
||||||
addr = 0x20;
|
addr = 0x298;
|
||||||
}
|
}
|
||||||
std::string saddr = ToStringHex(addr);
|
std::string saddr = ToStringHex(addr);
|
||||||
auto prev_val = det.readRegister(addr);
|
auto prev_val = det.readRegister(addr);
|
||||||
@ -3292,7 +3292,7 @@ TEST_CASE("setbit", "[.cmdcall]") {
|
|||||||
addr = 0x80;
|
addr = 0x80;
|
||||||
}
|
}
|
||||||
if (det_type == defs::GOTTHARD2) {
|
if (det_type == defs::GOTTHARD2) {
|
||||||
addr = 0x20;
|
addr = 0x298;
|
||||||
}
|
}
|
||||||
std::string saddr = ToStringHex(addr);
|
std::string saddr = ToStringHex(addr);
|
||||||
auto prev_val = det.readRegister(addr);
|
auto prev_val = det.readRegister(addr);
|
||||||
@ -3322,7 +3322,7 @@ TEST_CASE("clearbit", "[.cmdcall]") {
|
|||||||
addr = 0x80;
|
addr = 0x80;
|
||||||
}
|
}
|
||||||
if (det_type == defs::GOTTHARD2) {
|
if (det_type == defs::GOTTHARD2) {
|
||||||
addr = 0x20;
|
addr = 0x298;
|
||||||
}
|
}
|
||||||
std::string saddr = ToStringHex(addr);
|
std::string saddr = ToStringHex(addr);
|
||||||
auto prev_val = det.readRegister(addr);
|
auto prev_val = det.readRegister(addr);
|
||||||
@ -3352,7 +3352,7 @@ TEST_CASE("getbit", "[.cmdcall]") {
|
|||||||
addr = 0x80;
|
addr = 0x80;
|
||||||
}
|
}
|
||||||
if (det_type == defs::GOTTHARD2) {
|
if (det_type == defs::GOTTHARD2) {
|
||||||
addr = 0x20;
|
addr = 0x298;
|
||||||
}
|
}
|
||||||
std::string saddr = ToStringHex(addr);
|
std::string saddr = ToStringHex(addr);
|
||||||
auto prev_val = det.readRegister(addr);
|
auto prev_val = det.readRegister(addr);
|
||||||
|
@ -8,5 +8,5 @@
|
|||||||
#define APIMYTHEN3 "developer 0x250310"
|
#define APIMYTHEN3 "developer 0x250310"
|
||||||
#define APIMOENCH "developer 0x250310"
|
#define APIMOENCH "developer 0x250310"
|
||||||
#define APIEIGER "developer 0x250310"
|
#define APIEIGER "developer 0x250310"
|
||||||
#define APIJUNGFRAU "developer 0x250311"
|
|
||||||
#define APIXILINXCTB "developer 0x250311"
|
#define APIXILINXCTB "developer 0x250311"
|
||||||
|
#define APIJUNGFRAU "developer 0x250318"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user