mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 15:20:02 +02:00
minor
This commit is contained in:
parent
d64df39301
commit
c989be1e17
@ -457,10 +457,10 @@ void setupDetector() {
|
|||||||
setExpTime(DEFAULT_EXPTIME);
|
setExpTime(DEFAULT_EXPTIME);
|
||||||
setPeriod(DEFAULT_PERIOD);
|
setPeriod(DEFAULT_PERIOD);
|
||||||
setDelayAfterTrigger(DEFAULT_DELAY);
|
setDelayAfterTrigger(DEFAULT_DELAY);
|
||||||
setNumAdditionalStorageCells(DEFAULT_NUM_STRG_CLLS);
|
|
||||||
if (getChipVersion() == 11) {
|
if (getChipVersion() == 11) {
|
||||||
selectStoragecellStart(DEFAULT_STRG_CLL_STRT_CHIP11);
|
selectStoragecellStart(DEFAULT_STRG_CLL_STRT_CHIP11);
|
||||||
} else {
|
} else {
|
||||||
|
setNumAdditionalStorageCells(DEFAULT_NUM_STRG_CLLS);
|
||||||
selectStoragecellStart(DEFAULT_STRG_CLL_STRT);
|
selectStoragecellStart(DEFAULT_STRG_CLL_STRT);
|
||||||
// not applicable for chipv1.1
|
// not applicable for chipv1.1
|
||||||
setStorageCellDelay(DEFAULT_STRG_CLL_DLY);
|
setStorageCellDelay(DEFAULT_STRG_CLL_DLY);
|
||||||
|
@ -4023,7 +4023,7 @@ int storage_cell_start(int file_des) {
|
|||||||
if ((arg == GET_FLAG) || (Server_VerifyLock() == OK)) {
|
if ((arg == GET_FLAG) || (Server_VerifyLock() == OK)) {
|
||||||
if (arg > getMaxStoragecellStart()) {
|
if (arg > getMaxStoragecellStart()) {
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
strcpy(mess, "Max Storage cell number should not exceed %d\n", getMaxStoragecellStart());
|
sprintf(mess, "Max Storage cell number should not exceed %d\n", getMaxStoragecellStart());
|
||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
} else {
|
} else {
|
||||||
retval = selectStoragecellStart(arg);
|
retval = selectStoragecellStart(arg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user