From 49739e9eae26a1dd871599f38d0e8b68d687ef4a Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Mon, 12 Dec 2016 10:28:17 -0500 Subject: Revert force-output-on during timing cal option. Too complex, little reward. --- device-functions.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'device-functions.c') diff --git a/device-functions.c b/device-functions.c index 6bd7d48..ca03f0b 100644 --- a/device-functions.c +++ b/device-functions.c @@ -2065,14 +2065,9 @@ int Set_Cal_Nom(int channel,int calibration_point_number,int parameter, float *n if (reset_state) { Main_Rst(); - if (!globals.Flash.force_output_on_timing_cal[channel]) { - Set_Output_State(true_channel,output_off); - Main_update_shift_registers(); - bus_setpin(PW_ENABLE, 1); /* enable PW circuit (but output relay still off) */ - } else { - Set_Output_State(true_channel,output_on); - Main_update_shift_registers(); - } + Set_Output_State(true_channel,output_off); + Main_update_shift_registers(); + bus_setpin(PW_ENABLE, 1); /* enable PW circuit (but output relay still off) */ } if (disable_errors) { -- cgit