mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-02 19:00:05 +02:00
ctb bug fix: 10g adc enable mask
This commit is contained in:
parent
8881542156
commit
5cf1502287
Binary file not shown.
@ -700,8 +700,9 @@ void setADCEnableMask_10G(uint32_t mask) {
|
|||||||
int ich = 0;
|
int ich = 0;
|
||||||
for (ich = 0; ich < NCHAN_ANALOG; ich = ich + 4) {
|
for (ich = 0; ich < NCHAN_ANALOG; ich = ich + 4) {
|
||||||
if ((1 << ich) & mask) {
|
if ((1 << ich) & mask) {
|
||||||
actualMask |= (1 << ival++);
|
actualMask |= (1 << ival);
|
||||||
}
|
}
|
||||||
|
++ival;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#define APIMOENCH 0x190820
|
#define APIMOENCH 0x190820
|
||||||
#define APIGOTTHARD2 0x191127
|
#define APIGOTTHARD2 0x191127
|
||||||
#define APIMYTHEN3 0x191127
|
#define APIMYTHEN3 0x191127
|
||||||
#define APICTB 0x191127
|
|
||||||
#define APIGOTTHARD 0x191127
|
#define APIGOTTHARD 0x191127
|
||||||
#define APIJUNGFRAU 0x191127
|
#define APIJUNGFRAU 0x191127
|
||||||
#define APIEIGER 0x191129
|
#define APIEIGER 0x191129
|
||||||
|
#define APICTB 0x191209
|
||||||
|
Loading…
x
Reference in New Issue
Block a user