Skip to content

Commit

Permalink
output disable in trigger mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Mar 26, 2020
1 parent 3786706 commit 1ac606b
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 @@ -1124,7 +1124,7 @@ bool outputEnable(Channel &channel, bool enable, int *err) {
return false;
}

if (triggerModeEnabled) {
if (triggerModeEnabled && !trigger::isIdle()) {
trigger::abort();
} else {
channel_dispatcher::outputEnable(channel, false);
Expand Down

0 comments on commit 1ac606b

Please sign in to comment.