From 7f2e52e8dbcda238268dd7339ba8c3dce908e252 Mon Sep 17 00:00:00 2001 From: daniel Date: Sun, 13 Jan 2013 13:25:38 +0900 Subject: fire the interrupt from the right place --- gpib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gpib.c') diff --git a/gpib.c b/gpib.c index b2b24b7..bfa82ff 100644 --- a/gpib.c +++ b/gpib.c @@ -3,6 +3,7 @@ #include "flash.h" #include "error_utils.h" #include "bus.h" +#include "vxi11_server.h" #include @@ -297,6 +298,7 @@ void TNT_4882_Status(int status_register,unsigned int byte,int operation) if(set_srq) { // If SRQ desired globals.Remote.vxi_service_request = 1; TNT_Out(R_auxmr,F_reqt); // Set request true + vxi11_fireinterrupt(); } else { globals.Remote.vxi_service_request = 0; TNT_Out(R_auxmr,F_reqf); // Set request false -- cgit