From 7939ce6dd0ddfde8e92011e425f3d04e9b69a639 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Mon, 12 Nov 2001 21:46:34 +0000 Subject: [PATCH] Driver Power Monitoring state indicator must be initialized. --- motorApp/MotorSrc/motordevCom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/motorApp/MotorSrc/motordevCom.c b/motorApp/MotorSrc/motordevCom.c index ea8a3b26..0771b202 100644 --- a/motorApp/MotorSrc/motordevCom.c +++ b/motorApp/MotorSrc/motordevCom.c @@ -3,9 +3,9 @@ FILENAME: motordevCom.c USAGE... This file contains device functions that are common to all motor record device support modules. -Version: $Revision: 1.2 $ +Version: $Revision: 1.3 $ Modified By: $Author: sluiter $ -Last Modified: $Date: 2000-07-17 18:13:45 $ +Last Modified: $Date: 2001-11-12 21:46:34 $ */ /* @@ -200,6 +200,7 @@ long motor_init_record_com(struct motorRecord *mr, int brdcnt, struct driver_tab ptrans->state = IDLE_STATE; ptrans->callback_changed = NO; ptrans->tabptr = tabptr; + ptrans->dpm = OFF; FASTLOCKINIT(&ptrans->lock); motor_call = &(ptrans->motor_call);