SICS-613: Fixed voltage control for Ordela detector on Quokka.

This commit is contained in:
Ferdi Franceschini
2013-05-24 19:15:10 +10:00
parent 3c3afb92c8
commit 7036164640

View File

@@ -316,7 +316,7 @@ int OrdHVPSReading(Ascon *a) {
}
rsp_len = GetDynStringLength(a->rdBuffer);
if (OrdFmtReply(GetCharArray(a->rdBuffer), rsp_len, response, errmsg) >= 0) {
DynStringReplace(a->rdBuffer,response,0);
DynStringCopy(a->rdBuffer,response);
return 0;
} else {
AsconError(a, errmsg, 0);