We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59ba39 commit 9128234Copy full SHA for 9128234
src/bb3/dib-dcp405/dib-dcp405.cpp
@@ -1000,6 +1000,11 @@ struct DcpChannel : public Channel {
1000
}
1001
1002
bool isErrorInputVoltageDetectedWhenChannellIsOff() override {
1003
+ if (channel_dispatcher::getCouplingType() == channel_dispatcher::COUPLING_TYPE_SERIES) {
1004
+ auto otherChannelIndex = channelIndex == 0 ? 1 : 0;
1005
+ auto &otherChannel = Channel::get(otherChannelIndex);
1006
+ return u.mon + otherChannel.u.mon > ERROR_INPUT_VOLTAGE_WHEN_CHANNEL_IS_OFF;
1007
+ }
1008
return u.mon > ERROR_INPUT_VOLTAGE_WHEN_CHANNEL_IS_OFF;
1009
1010
};
0 commit comments