From 4b9e6da097e042937bbf36b00bb8895fa6c14d50 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Jan 1970 09:01:52 +0900 Subject: Added min/max rise time relay control --- device-functions.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/device-functions.c b/device-functions.c index ea7b2c1..d1fcb31 100644 --- a/device-functions.c +++ b/device-functions.c @@ -3513,11 +3513,9 @@ int Set_rise_time(int check_possible_only,int word_override,int range_override,i } if (fabs(new_rise_time - globals.Flash.min_rise_time[channel]) < smallest_allowed_number) { - /* todo */ - (void)0; + set_shiftreg_bits(SR_2, XTR_POS + 5, ONE_BIT, BIT_LOW); } else { - /* todo */ - (void)0; + set_shiftreg_bits(SR_2, XTR_POS + 5, ONE_BIT, BIT_HIGH); } } else { -- cgit