From b0dd33d5f68fa172fd29bdd7e4426f632e801f88 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Fri, 7 Dec 2012 08:52:59 -0500 Subject: use register macro, instead of hard-coded value for ESR --- gpib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gpib.c b/gpib.c index 2669135..4a29333 100644 --- a/gpib.c +++ b/gpib.c @@ -1016,7 +1016,7 @@ void GPIB_Set_Execution_Error () return; } - TNT_4882_Status(3,0x10,1); + TNT_4882_Status(ESR,0x10,1); } @@ -1026,7 +1026,7 @@ void GPIB_Set_Command_Error () return; } - TNT_4882_Status(3,0x20,1); + TNT_4882_Status(ESR,0x20,1); } @@ -1036,7 +1036,7 @@ void GPIB_Set_Query_Error () return; } - TNT_4882_Status(3,0x04,1); + TNT_4882_Status(ESR,0x04,1); } @@ -1046,6 +1046,6 @@ void GPIB_Set_Device_Dependent_Error () return; } - TNT_4882_Status(3,0x08,1); + TNT_4882_Status(ESR,0x08,1); } -- cgit