summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:01:52 +0900
committerroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:01:52 +0900
commit4b9e6da097e042937bbf36b00bb8895fa6c14d50 (patch)
treeed2734a7485a0899b581c01b4140d9d164dc12f1 /device-functions.c
parentb6f5539f82f40a8e67495d46ba02324305f1b590 (diff)
Added min/max rise time relay control
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c6
1 files 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 {