mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-03 18:01:19 +01:00
minor
This commit is contained in:
@@ -2175,10 +2175,6 @@ int getFilterResistor() {
|
||||
uint32_t addr = CONFIG_V11_REG;
|
||||
#else
|
||||
uint32_t addr = CONFIG_V11_STATUS_REG;
|
||||
#endif
|
||||
uint32_t regval = bus_r(addr);
|
||||
#ifndef VIRTUAL
|
||||
regval ^= BIT32_MASK;
|
||||
#endif
|
||||
// return 0 for lower value, 1 for higher value
|
||||
if (bus_r(addr) & CONFIG_V11_STATUS_FLTR_RSSTR_SMLR_MSK) {
|
||||
|
||||
Reference in New Issue
Block a user