summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-07 08:18:53 -0500
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-12-07 08:18:53 -0500
commit7cd01f287c8a48da5007ae9bc586148cef7f63e6 (patch)
tree00146c7ea966d1fff90278829a3dce13e7bf8d53
parentc610d09ad0757d8002df76ffec1dfe6c4c1e254c (diff)
renamed remote/lockout variables to make them GPIB-specific
-rw-r--r--menus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/menus.c b/menus.c
index 6608b33..9b8668b 100644
--- a/menus.c
+++ b/menus.c
@@ -223,14 +223,14 @@ static void Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower
static void update_remote_mode ()
{
- int is_remote, is_lockout;
- GPIB_check_remote_status (&is_remote, &is_lockout);
+ int gpib_remote, gpib_lockout;
+ GPIB_check_remote_status (&gpib_remote, &gpib_lockout);
globals.Remote.mode = 0;
- if (is_lockout) {
+ if (gpib_lockout) {
globals.Remote.mode += RM_LOCK;
}
- if (is_remote) {
+ if (gpib_remote) {
globals.Remote.mode += RM_REM;
}
if (globals.Remote.connections > 0) {