mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-08 19:10:42 +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);
|
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) {
|
if (Feb_Control_quadMode) {
|
||||||
LOG(logINFO, ("%s chip signals to trim quad\n",
|
LOG(logINFO, ("%s chip signals to trim quad\n",
|
||||||
enable ? "Enabling" : "Disabling"));
|
enable ? "Enabling" : "Disabling"));
|
||||||
|
@ -87,7 +87,7 @@ int Feb_Control_SetTop(enum TOPINDEX ind, int left, int right);
|
|||||||
void Feb_Control_SetMasterVariable(int val);
|
void Feb_Control_SetMasterVariable(int val);
|
||||||
int Feb_Control_SetMaster(enum MASTERINDEX ind);
|
int Feb_Control_SetMaster(enum MASTERINDEX ind);
|
||||||
int Feb_Control_SetQuad(int val);
|
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_SetReadNLines(int value);
|
||||||
int Feb_Control_GetReadNLines();
|
int Feb_Control_GetReadNLines();
|
||||||
int Feb_Control_WriteRegister(uint32_t offset, uint32_t data);
|
int Feb_Control_WriteRegister(uint32_t offset, uint32_t data);
|
||||||
|
@ -1139,7 +1139,7 @@ int setModule(sls_detector_module myMod, char *mess) {
|
|||||||
sharedMemory_lockLocalLink();
|
sharedMemory_lockLocalLink();
|
||||||
|
|
||||||
// if quad, set M8 and PROGRAM manually
|
// if quad, set M8 and PROGRAM manually
|
||||||
if (!Feb_Control_SetChipSignalsToTrimQuad(true)) {
|
if (!Feb_Control_SetChipSignalsToTrimQuad(1)) {
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1151,7 +1151,7 @@ int setModule(sls_detector_module myMod, char *mess) {
|
|||||||
"trim file)\n"));
|
"trim file)\n"));
|
||||||
|
|
||||||
// if quad, reset M8 and PROGRAM manually
|
// if quad, reset M8 and PROGRAM manually
|
||||||
if (!Feb_Control_SetChipSignalsToTrimQuad(false)) {
|
if (!Feb_Control_SetChipSignalsToTrimQuad(0)) {
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1160,7 +1160,7 @@ int setModule(sls_detector_module myMod, char *mess) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if quad, reset M8 and PROGRAM manually
|
// if quad, reset M8 and PROGRAM manually
|
||||||
if (!Feb_Control_SetChipSignalsToTrimQuad(false)) {
|
if (!Feb_Control_SetChipSignalsToTrimQuad(0)) {
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user