Skip to content

Commit

Permalink
Update channel.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed May 25, 2020
1 parent 75be83c commit 391dd82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eez/modules/dcp405/channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ struct DcpChannel : public Channel {
uint8_t intcap = ioexp.readIntcapRegister();
// DebugTrace("CH%d INTCAP 0x%02X\n", (int)(channelIndex + 1), (int)intcap);
if (!(intcap & (1 << IOExpander::R2B5_IO_BIT_IN_OVP_FAULT))) {
if (isOutputEnabled()) {
if (isOutputEnabled() && isHwOvpEnabled(*this)) {
enterOvpProtection();
}
}
Expand Down

0 comments on commit 391dd82

Please sign in to comment.