ctb bug fix: 10g adc enable mask

This commit is contained in:
maliakal_d 2019-12-09 11:30:54 +01:00
parent 8881542156
commit 5cf1502287
3 changed files with 3 additions and 2 deletions

View File

@ -700,8 +700,9 @@ void setADCEnableMask_10G(uint32_t mask) {
int ich = 0;
for (ich = 0; ich < NCHAN_ANALOG; ich = ich + 4) {
if ((1 << ich) & mask) {
actualMask |= (1 << ival++);
actualMask |= (1 << ival);
}
++ival;
}
}

View File

@ -6,7 +6,7 @@
#define APIMOENCH 0x190820
#define APIGOTTHARD2 0x191127
#define APIMYTHEN3 0x191127
#define APICTB 0x191127
#define APIGOTTHARD 0x191127
#define APIJUNGFRAU 0x191127
#define APIEIGER 0x191129
#define APICTB 0x191209