- improvements in protocols and drivers
This commit is contained in:
@ -567,7 +567,8 @@ static long IghStart(long pc, void *object)
|
||||
{
|
||||
Igh *drv = ParCast(&ighClass, object);
|
||||
EaseBase *eab = object;
|
||||
|
||||
char msg[128];
|
||||
|
||||
switch (pc) {
|
||||
default: /* FSM BEGIN ****************************** */
|
||||
EasePchk(drv);
|
||||
@ -575,10 +576,9 @@ static long IghStart(long pc, void *object)
|
||||
return __LINE__;
|
||||
case __LINE__: /**********************************/
|
||||
if (0 != strncmp(eab->version, "IGH", 3)) {
|
||||
snprintf(eab->msg, sizeof eab->msg,
|
||||
snprintf(msg, sizeof msg,
|
||||
"unknown gas handling system version: %s", eab->version);
|
||||
ParPrintf(drv, eError, "ERROR: %s", eab->msg);
|
||||
EaseStop(eab);
|
||||
EaseStop(eab, msg);
|
||||
goto quit;
|
||||
}
|
||||
if (strstr(eab->version, "2.01") != NULL) {
|
||||
|
Reference in New Issue
Block a user