summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-07 10:04:02 -0500
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-07 10:04:02 -0500
commit3fe4c0eead043da3eeb178a854bd9ca81a282807 (patch)
tree908d0128e102aa7a8b1b84734e081afca0df6389 /instr-daemon.c
parent0140955d5e80254a03c9b3ce8b3046b162f65f2f (diff)
fix invalid lock names
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/instr-daemon.c b/instr-daemon.c
index 2097a6c..73a847e 100644
--- a/instr-daemon.c
+++ b/instr-daemon.c
@@ -406,11 +406,11 @@ static gboolean periodic_poll (void)
// don't check GPIB interface if a VXI interface is locked,
// or is currently handling a command
- if ((globals.4882Locks.locked_network_server == NO_SERVER_LOCKED) &&
- (globals.4882Locks.command_in_progress == FALSE)) {
+ if ((globals.VxiLocks.locked_network_server == NO_SERVER_LOCKED) &&
+ (globals.VxiLocks.command_in_progress == FALSE)) {
// tell VXI servers that the 4882 subsystem is busy
- globals.4882Locks.command_in_progress = TRUE;
+ globals.VxiLocks.command_in_progress = TRUE;
GPIB_check_for_device_clear_signal();
if (GPIB_check_for_messages(globals.Registers.gpib_buffer)) {
@@ -421,7 +421,7 @@ static gboolean periodic_poll (void)
GPIB_check_for_device_clear_signal();
// tell VXI servers that the 4882 subsystem is avilable again
- globals.4882Locks.command_in_progress = FALSE;
+ globals.VxiLocks.command_in_progress = FALSE;
}
Update_Main_Menu_If_Visible();