mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
typo
This commit is contained in:
@ -2341,9 +2341,9 @@ int getFixCurrentSource() {
|
|||||||
|
|
||||||
int getNormalCurrentSource() {
|
int getNormalCurrentSource() {
|
||||||
if (getChipVersion() == 11) {
|
if (getChipVersion() == 11) {
|
||||||
int regval = ((bus_r(CONFIG_V11_STATUS_REG) &
|
int low = ((bus_r(CONFIG_V11_STATUS_REG) &
|
||||||
CONFIG_V11_STATUS_CRRNT_SRC_LOW_MSK) >>
|
CONFIG_V11_STATUS_CRRNT_SRC_LOW_MSK) >>
|
||||||
CONFIG_V11_STATUS_CRRNT_SRC_LOW_OFST);
|
CONFIG_V11_STATUS_CRRNT_SRC_LOW_OFST);
|
||||||
return (low == 0 ? 1 : 0);
|
return (low == 0 ? 1 : 0);
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user