Commit a35b5db 1 parent 595fe7d commit a35b5db Copy full SHA for a35b5db
File tree 1 file changed +1
-8
lines changed
src/eez/modules/dib-dcp405
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -583,14 +583,7 @@ struct DcpChannel : public Channel {
583
583
if (tasks & OUTPUT_ENABLE_TASK_DAC) {
584
584
dac.setDacVoltage (0 );
585
585
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
594
587
}
595
588
596
589
// OE
You can’t perform that action at this time.
0 commit comments