mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
minor
This commit is contained in:
parent
9f27478f95
commit
ec4aca0dd4
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user