fix missing return from ITC4_Config, change SerialError to getRS232Error, adjust Formatting
r2415 | dcl | 2008-04-14 08:37:57 +1000 (Mon, 14 Apr 2008) | 2 lines
This commit is contained in:
@@ -193,8 +193,8 @@
|
||||
|
||||
self = *pData;
|
||||
|
||||
/* 3 input channels see p52 */
|
||||
/* BUG ALLOWS iControl=4 */
|
||||
/* 3 input channels see p52 */
|
||||
/* BUG ALLOWS iControl=4 */
|
||||
if (iControl < 1 || iControl > 3) {
|
||||
return 1;
|
||||
} else {
|
||||
@@ -274,7 +274,7 @@
|
||||
return iRet;
|
||||
}
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
/*--------------------------------------------------------------------------*/
|
||||
@@ -443,7 +443,7 @@
|
||||
strncpy(pError,"ITC4: Failed three times to write new set value to ITC4",iLen);
|
||||
break;
|
||||
default:
|
||||
SerialError(iCode, pError,iLen);
|
||||
getRS232Error(iCode, pError,iLen);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user