mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 17:47:59 +02:00
changed gain mode. dynamic_gain_mode to dynamic only. binaries in
This commit is contained in:
Binary file not shown.
@ -1103,7 +1103,7 @@ enum gainMode getGainMode() {
|
||||
|
||||
// dynamic gain, when nothing is set
|
||||
if (retval_force == 0 && retval_fix == 0 && retval_cmp_rst == 0) {
|
||||
return DYNAMIC_GAIN_MODE;
|
||||
return DYNAMIC;
|
||||
}
|
||||
|
||||
switch (retval_force) {
|
||||
@ -1137,7 +1137,7 @@ void setGainMode(enum gainMode mode) {
|
||||
uint32_t value = bus_r(addr);
|
||||
|
||||
switch (mode) {
|
||||
case DYNAMIC_GAIN_MODE:
|
||||
case DYNAMIC:
|
||||
value &= ~(DAQ_GAIN_MODE_MASK);
|
||||
bus_w(addr, value);
|
||||
LOG(logINFO,
|
||||
|
@ -98,7 +98,7 @@ enum CLKINDEX { RUN_CLK, ADC_CLK, DBIT_CLK, NUM_CLOCKS };
|
||||
#define DEFAULT_HIGH_VOLTAGE (0)
|
||||
#define DEFAULT_TIMING_MODE (AUTO_TIMING)
|
||||
#define DEFAULT_SETTINGS (GAIN0)
|
||||
#define DEFAULT_GAINMODE (DYNAMIC_GAIN_MODE)
|
||||
#define DEFAULT_GAINMODE (DYNAMIC)
|
||||
#define DEFAULT_TX_UDP_PORT (0x7e9a)
|
||||
#define DEFAULT_TMP_THRSHLD (65 * 1000) // milli degree Celsius
|
||||
#define DEFAULT_NUM_STRG_CLLS (0)
|
||||
|
Reference in New Issue
Block a user