diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-12-07 08:52:59 -0500 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-12-07 08:52:59 -0500 |
commit | b0dd33d5f68fa172fd29bdd7e4426f632e801f88 (patch) | |
tree | 804ac0f2a27befc2fbebc8cad1388c3bac7672ca | |
parent | 2adb381c85f6d582dad97b966ef5c991ba71480a (diff) |
use register macro, instead of hard-coded value for ESR
-rw-r--r-- | gpib.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); } |