From 8fa67f4092d724fd74ec4256568ba2d8c850d787 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 4 Mar 1993 15:37:07 +0000 Subject: [PATCH] request encoder readback for all axis --- src/drv/drvOms.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drv/drvOms.c b/src/drv/drvOms.c index eea3fef79..dcf722c06 100644 --- a/src/drv/drvOms.c +++ b/src/drv/drvOms.c @@ -64,6 +64,7 @@ * with and without status but left new code #if'd * out until the proper status can be determined * .22 08-03-92 joh merged the include oms file + * .23 03-04-93 lrd modifed to request encoders for all axis */ /* data requests are made from the oms_task at @@ -372,7 +373,7 @@ oms_task() motor_active = TRUE; /* request status data */ - if ((channel <= 1) && (encoder_present[card])) + if (encoder_present[card]) strcpy(oms_msg,"A?\nRE\nRP\nRA\n"); else strcpy(oms_msg,"A?\nRP\nRA\n");