Skip to content

Commit

Permalink
fixed setting current limit for tracking channels
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Jan 17, 2020
1 parent 8e7ff43 commit 21ce906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eez/modules/psu/channel_dispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ void setCurrentLimit(Channel &channel, float limit) {
for (int i = 0; i < CH_NUM; ++i) {
Channel &trackingChannel = Channel::get(i);
if (trackingChannel.flags.trackingEnabled) {
trackingChannel.setCurrent(limit);
trackingChannel.setCurrentLimit(limit);
}
}
} else {
Expand Down

0 comments on commit 21ce906

Please sign in to comment.