Skip to content

Commit a35b5db

Browse files
committed
1 parent 595fe7d commit a35b5db

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/eez/modules/dib-dcp405/dib-dcp405.cpp

+1-8
Original file line numberDiff line numberDiff line change
@@ -583,14 +583,7 @@ struct DcpChannel : public Channel {
583583
if (tasks & OUTPUT_ENABLE_TASK_DAC) {
584584
dac.setDacVoltage(0);
585585

586-
if (flags.currentRangeSelectionMode == CURRENT_RANGE_SELECTION_USE_BOTH) {
587-
setCurrentRange(CURRENT_RANGE_LOW);
588-
} else if (flags.currentRangeSelectionMode == CURRENT_RANGE_SELECTION_ALWAYS_HIGH) {
589-
setCurrentRange(CURRENT_RANGE_HIGH);
590-
} else {
591-
setCurrentRange(CURRENT_RANGE_LOW);
592-
}
593-
dac.setCurrent(getCalibratedCurrent(CURRENT_WHEN_CHANNEL_IS_OFF)); // set 1.0 mA to prevent both CC and CV leds on when channel is off
586+
dac.setCurrent(getCalibratedCurrent(CURRENT_WHEN_CHANNEL_IS_OFF)); // set to prevent both CC and CV leds on when channel is off
594587
}
595588

596589
// OE

0 commit comments

Comments
 (0)