diff options
-rw-r--r-- | instr-daemon.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index 63bc161..1612e9b 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -266,6 +266,17 @@ int main(int argc, char **argv) Main_Rst(); + for (i=0; i<max_channels; i++) { + if (globals.Flash.toggle_trig_at_boot[i]) { + // trigger IL710 twice to initialize it + Set_Output_State(i,output_on); + Set_Trig_Source(i,source_immediate); + Set_Trig_Source(i,source_immediate); + Set_Trig_Source(i,source_internal); + Set_Output_State(i,output_off); + } + } + //register stdin channel stdinChannel = g_io_channel_unix_new(0); if(stdinChannel == NULL) { |