diff options
-rw-r--r-- | device-functions.c | 2 | ||||
-rw-r--r-- | flash.c | 1 |
2 files changed, 2 insertions, 1 deletions
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; @@ -1,5 +1,6 @@ #include "globals.h" #include "lcd.h" +#include "i2c.h" #include "version.h" #include "flash.h" #include <stdint.h> |