Skip to content

Commit

Permalink
#42
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Jun 30, 2021
1 parent 5257065 commit dac021d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/eez/modules/dib-mio168/dib-mio168.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4708,6 +4708,10 @@ struct Mio168Module : public Module {
}

int getNumDlogResources(int subchannelIndex) override {
if (!synchronized) {
return 0;
}

if (subchannelIndex == DIN_SUBCHANNEL_INDEX) {
return 8;
}
Expand Down Expand Up @@ -4907,6 +4911,10 @@ struct Mio168Module : public Module {
}

int getNumFunctionGeneratorResources(int subchannelIndex) override {
if (!synchronized) {
return 0;
}

if (subchannelIndex == DOUT_SUBCHANNEL_INDEX) {
return 8;
} else if (subchannelIndex >= AOUT_1_SUBCHANNEL_INDEX && subchannelIndex <= AOUT_4_SUBCHANNEL_INDEX && !isError(subchannelIndex - AOUT_1_SUBCHANNEL_INDEX)) {
Expand Down

0 comments on commit dac021d

Please sign in to comment.