diff options
Diffstat (limited to 'instr-daemon.c')
-rw-r--r-- | instr-daemon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index 73a847e..255b294 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -413,9 +413,9 @@ static gboolean periodic_poll (void) globals.VxiLocks.command_in_progress = TRUE; GPIB_check_for_device_clear_signal(); - if (GPIB_check_for_messages(globals.Registers.gpib_buffer)) { - if (GPIB_handle_new_input(globals.Registers.gpib_buffer)) { - Parser_main(globals.Registers.gpib_buffer, 0, GPIB_send_query_response, NULL); + if (GPIB_check_for_messages(globals.Registers.gpib_input_buffer)) { + if (GPIB_handle_new_input(globals.Registers.gpib_input_buffer)) { + Parser_main(globals.Registers.gpib_input_buffer, 0, GPIB_send_query_response, NULL); } } GPIB_check_for_device_clear_signal(); |