From 84326178a4096aa97fae3478ef96061175c44b0d Mon Sep 17 00:00:00 2001 From: Martin Vladic Date: Wed, 4 Oct 2017 12:55:06 +0200 Subject: [PATCH] #173 --- eez_psu_sketch/profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eez_psu_sketch/profile.cpp b/eez_psu_sketch/profile.cpp index 0bcd5f32..dc72d2bc 100644 --- a/eez_psu_sketch/profile.cpp +++ b/eez_psu_sketch/profile.cpp @@ -105,7 +105,7 @@ void recallChannelsFromProfile(Parameters *profile, int location) { channel.simulator.voltProgExt = profile->channels[i].voltProgExt; #endif - channel.flags.outputEnabled = profile->channels[i].flags.output_enabled; + channel.flags.outputEnabled = channel.isTripped() ? 0 : profile->channels[i].flags.output_enabled; channel.flags.senseEnabled = profile->channels[i].flags.sense_enabled; if (channel.getFeatures() & CH_FEATURE_RPROG) {