summaryrefslogtreecommitdiff
path: root/gpib.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-07 08:52:59 -0500
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-07 08:52:59 -0500
commitb0dd33d5f68fa172fd29bdd7e4426f632e801f88 (patch)
tree804ac0f2a27befc2fbebc8cad1388c3bac7672ca /gpib.c
parent2adb381c85f6d582dad97b966ef5c991ba71480a (diff)
use register macro, instead of hard-coded value for ESR
Diffstat (limited to 'gpib.c')
-rw-r--r--gpib.c8
1 files 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);
}