Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Jun 9, 2021
1 parent 6902cb4 commit 45007de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/eez/modules/psu/gui/psu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,8 @@ static int g_iChannelSetValue;
void changeValue(Channel &channel, const Value &value, float minValue, float maxValue, float defValue, void (*onSetValue)(float)) {
NumericKeypadOptions options;

options.channelIndex = channel.channelIndex;
options.slotIndex = channel.slotIndex;
options.subchannelIndex = channel.subchannelIndex;

options.editValueUnit = value.getUnit();

Expand Down

0 comments on commit 45007de

Please sign in to comment.