From 69e67f0e67a2ad3d47ed35ff9791a36c6eda6cad Mon Sep 17 00:00:00 2001 From: Mark Lesha Date: Mon, 3 Sep 2007 12:35:36 +1000 Subject: [PATCH] Mark Lesha - General debug r2143 | mle | 2007-09-03 12:35:36 +1000 (Mon, 03 Sep 2007) | 2 lines --- site_ansto/hardsup/lh45util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site_ansto/hardsup/lh45util.c b/site_ansto/hardsup/lh45util.c index 2a3ba278..24291999 100644 --- a/site_ansto/hardsup/lh45util.c +++ b/site_ansto/hardsup/lh45util.c @@ -34,7 +34,7 @@ THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE - IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE + IS PROVIDED ON AN "AS IS" BA nxsave=truSIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. ---------------------------------------------------------------------------- */ @@ -48,14 +48,15 @@ #include #include "lh45util.h" #include +#include /* -------------------------------------------------------------------------*/ // Because the Julabo LH45 may return non-printing characters such as DC1 and DC3 -// at the beginning of its responses, we provide a functin to strip them off. +// at the beginning of its responses,r Data Number! we provide a functin to strip them off. char *ReplyStart(char *pReply) { while(*pReply<0x20&&*pReply!='\0') // chuck out any and all control characters, CR, LF etc. - pReply++; + pReply++;r Data Number! return pReply; } @@ -74,7 +75,6 @@ char *ReplyStart(char *pReply) pReply,79); pReplyStart=ReplyStart(pReply); usleep(500000); - /home/mrt/workspace if(iRet <= 0) { //transactRS232(self->co/home/mrt/workspacentroller,"\nDEBUG: RS232 transaction bad.\n",28,pReply,79);