unnecessary checks
Build on RHEL8 docker image / build (push) Successful in 4m53s
Build on RHEL9 docker image / build (push) Successful in 5m24s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m54s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m18s

This commit is contained in:
maliakal_d committed 2026-09-02 13:40:13 +02:00
1 parent 58fc862bdc
commit 00774f6bb5
2 files changed
-18

No files matched your search

@@ -63,10 +63,6 @@
#define DEFAULT_TIMING_INFO_DECODER (SWISSFEL)
#define DEFAULT_ELECTRON_COLLECTION_MODE (0)
#define MAX_PEDESTAL_LOOPS \
(PEDESTAL_MODE_ITRTNS_MSK >> PEDESTAL_MODE_ITRTNS_OFST)
#define MAX_PEDESTAL_FRAMES \
(PEDESTAL_MODE_LNGTH_MSK >> PEDESTAL_MODE_LNGTH_OFST)
#define HIGHVOLTAGE_MIN (60)
#define HIGHVOLTAGE_MAX (200)
#define DAC_MIN_MV (0)
@@ -10832,20 +10832,6 @@ int set_pedestal_mode(int file_des) {
"be 0. [%hhu, %hu].\n",
frames, loops);
LOG(logERROR, (mess));
} else if (frames > MAX_PEDESTAL_FRAMES) {
ret = FAIL;
sprintf(mess,
"Could not set pedestal mode. Frames [%hhu] cannot be "
"greater than %d.\n",
frames, MAX_PEDESTAL_FRAMES);
LOG(logERROR, (mess));
} else if (loops > MAX_PEDESTAL_LOOPS) {
ret = FAIL;
sprintf(mess,
"Could not set pedestal mode. Loops [%hu] cannot be "
"greater than %d.\n",
loops, MAX_PEDESTAL_LOOPS);
LOG(logERROR, (mess));
} else {
setPedestalMode(enable, frames, loops);
int retvalEnable = getPedestalMode();