sct_rfamp.c
SICS-405 Protocol handler always reports "SET" failed. Implemented workaround so that it always succeeds until we have a proper fix. server_config.tcl Set opal_simulation=true until we implement the new LSS feedback r2940 | ffr | 2010-05-28 11:36:25 +1000 (Fri, 28 May 2010) | 6 lines
This commit is contained in:
committed by
Douglas Clowes
parent
9926044c35
commit
3d5d94c1dd
@@ -227,6 +227,7 @@ int RFAmpReading (Ascon *a)
|
||||
strncpy(tmpFreq, &data->rfCmd[5], 3);
|
||||
tmpSwitchs = (unsigned char)data->rfCmd[8];
|
||||
|
||||
/* TODO SICS-405 ffr Removed check because the read values don't immediately match the set values
|
||||
if( (abs(atoi(curr) - atoi(tmpCurr)) > data->currTol) ||
|
||||
(atoi(freq) != atoi(tmpFreq)) ||
|
||||
((switches & 0x0F) != (tmpSwitchs & 0x0F)) ) {
|
||||
@@ -236,6 +237,9 @@ int RFAmpReading (Ascon *a)
|
||||
} else {
|
||||
DynStringReplace(a->rdBuffer, "OK", 0);
|
||||
}
|
||||
*/
|
||||
/* ffr Just report OK until we have a proper fix */
|
||||
DynStringReplace(a->rdBuffer, "OK", 0);
|
||||
|
||||
a->state = AsconReadDone;
|
||||
data->transactInProg = txNormalRead;
|
||||
|
||||
Reference in New Issue
Block a user