Skip to content

Commit 1ac606b

Browse files
committed
output disable in trigger mode
1 parent 3786706 commit 1ac606b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eez/modules/psu/channel_dispatcher.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ bool outputEnable(Channel &channel, bool enable, int *err) {
11241124
return false;
11251125
}
11261126

1127-
if (triggerModeEnabled) {
1127+
if (triggerModeEnabled && !trigger::isIdle()) {
11281128
trigger::abort();
11291129
} else {
11301130
channel_dispatcher::outputEnable(channel, false);

0 commit comments

Comments
 (0)