diff --git a/site_ansto/hardsup/sct_rfamp.c b/site_ansto/hardsup/sct_rfamp.c index 15cb62c1..8791d4ea 100644 --- a/site_ansto/hardsup/sct_rfamp.c +++ b/site_ansto/hardsup/sct_rfamp.c @@ -168,6 +168,7 @@ int RFAmpReading (Ascon *a) switches=opstate=K3=K2=K1=outOn=CC=CV=heat=0; if(data->transactInProg == txPostSet){ + data->transactInProg = txCheckReply; DynStringReplaceWithLen(a->wrBuffer, data->statusCmd, 0, LCMDLEN); @@ -276,7 +277,9 @@ int RFAmpReading (Ascon *a) } if (GetReplyFailed) { a->state = AsconReadDone; + a->noResponse = 1; a->readState = 0; + data->transactInProg = txNormalRead; AsconError(a, errMsg, errNum); return 1; }