From 3141b9d68ade6ec9937bdc3ecb3e4727dccc1931 Mon Sep 17 00:00:00 2001 From: mp49 Date: Fri, 28 Nov 2008 17:36:59 +0000 Subject: [PATCH] motor: Printed mutexId in motorAxisReportAxis to aid debugging --- motorApp/MotorSimSrc/drvMotorSim.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/motorApp/MotorSimSrc/drvMotorSim.c b/motorApp/MotorSimSrc/drvMotorSim.c index 114b4b31..f78282e2 100644 --- a/motorApp/MotorSimSrc/drvMotorSim.c +++ b/motorApp/MotorSimSrc/drvMotorSim.c @@ -2,9 +2,9 @@ FILENAME... drvMotorSim.c USAGE... Simulated Motor Support. -Version: $Revision: 1.7 $ -Modified By: $Author: peterd $ -Last Modified: $Date: 2007-02-03 12:07:17 $ +Version: $Revision: 1.8 $ +Modified By: $Author: mp49 $ +Last Modified: $Date: 2008-11-28 17:36:59 $ */ /* @@ -105,7 +105,7 @@ static motorSim_t drv={ NULL, NULL, motorSimLogMsg, NULL, { 0, 0 } }; static void motorAxisReportAxis( AXIS_HDL pAxis, int level ) { - printf( "Found driver for motorSim card %d, axis %d\n", pAxis->card, pAxis->axis ); + printf( "Found driver for motorSim card %d, axis %d, mutex %p\n", pAxis->card, pAxis->axis, pAxis->axisMutex ); if (level > 0) {