From 5587867f6f26cda5563f62f45d0a961167e796c8 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Tue, 15 Oct 1996 19:59:14 +0000 Subject: [PATCH] lval was not correctly updated --- src/rec/steppermotorRecord.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rec/steppermotorRecord.c b/src/rec/steppermotorRecord.c index 6ee009727..e36ca2314 100644 --- a/src/rec/steppermotorRecord.c +++ b/src/rec/steppermotorRecord.c @@ -931,7 +931,7 @@ struct steppermotorRecord *psm; psm->sthm = 0; return; } - psm->rbv = psm->val = psm->ival + new_pos; + psm->rbv = psm->val = psm->lval = psm->ival + new_pos; psm->rval = psm->rrbv = psm->rbv / psm->dist; psm->init = 1; if (psm->mlis.count != 0){