mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
minor
This commit is contained in:
parent
538b7d0925
commit
3bee03bb3a
@ -1523,7 +1523,7 @@ int Feb_Control_SetQuad(int val) {
|
||||
return Feb_Control_SetTop(val == 0 ? TOP_HARDWARE : OW_BOTTOM, 0, 1);
|
||||
}
|
||||
|
||||
int Feb_Control_SetChipSignalsToTrimQuad(bool enable) {
|
||||
int Feb_Control_SetChipSignalsToTrimQuad(int enable) {
|
||||
if (Feb_Control_quadMode) {
|
||||
LOG(logINFO, ("%s chip signals to trim quad\n",
|
||||
enable ? "Enabling" : "Disabling"));
|
||||
|
@ -87,7 +87,7 @@ int Feb_Control_SetTop(enum TOPINDEX ind, int left, int right);
|
||||
void Feb_Control_SetMasterVariable(int val);
|
||||
int Feb_Control_SetMaster(enum MASTERINDEX ind);
|
||||
int Feb_Control_SetQuad(int val);
|
||||
int Feb_Control_SetChipSignalsToTrimQuad(bool enable);
|
||||
int Feb_Control_SetChipSignalsToTrimQuad(int enable);
|
||||
int Feb_Control_SetReadNLines(int value);
|
||||
int Feb_Control_GetReadNLines();
|
||||
int Feb_Control_WriteRegister(uint32_t offset, uint32_t data);
|
||||
|
@ -1139,7 +1139,7 @@ int setModule(sls_detector_module myMod, char *mess) {
|
||||
sharedMemory_lockLocalLink();
|
||||
|
||||
// if quad, set M8 and PROGRAM manually
|
||||
if (!Feb_Control_SetChipSignalsToTrimQuad(true)) {
|
||||
if (!Feb_Control_SetChipSignalsToTrimQuad(1)) {
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
@ -1151,7 +1151,7 @@ int setModule(sls_detector_module myMod, char *mess) {
|
||||
"trim file)\n"));
|
||||
|
||||
// if quad, reset M8 and PROGRAM manually
|
||||
if (!Feb_Control_SetChipSignalsToTrimQuad(false)) {
|
||||
if (!Feb_Control_SetChipSignalsToTrimQuad(0)) {
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
@ -1160,7 +1160,7 @@ int setModule(sls_detector_module myMod, char *mess) {
|
||||
}
|
||||
|
||||
// if quad, reset M8 and PROGRAM manually
|
||||
if (!Feb_Control_SetChipSignalsToTrimQuad(false)) {
|
||||
if (!Feb_Control_SetChipSignalsToTrimQuad(0)) {
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user