From 48a508009141692b6b6c2f6169455b29c4b64ec4 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:39:15 -0500 Subject: make CH2 delay changes actually work --- device-functions.c | 2 +- flash.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/device-functions.c b/device-functions.c index 1e7ac25..0dd840b 100644 --- a/device-functions.c +++ b/device-functions.c @@ -811,7 +811,7 @@ int Set_Delay(int check_possible_only,int word_override,int range_override,int c } if (channel==1) { - control_pcb107(Flash.I2C_port_for_CH2_delay,globals.Flash.delay_dac[channel],word_out,relay_range); + control_pcb107(globals.Flash.I2C_port_for_CH2_delay,globals.Flash.delay_dac[channel],word_out,relay_range); } globals.ChannelState[channel].delay=set_delay; diff --git a/flash.c b/flash.c index 3282338..1484bb2 100644 --- a/flash.c +++ b/flash.c @@ -1,5 +1,6 @@ #include "globals.h" #include "lcd.h" +#include "i2c.h" #include "version.h" #include "flash.h" #include -- cgit