- fixed buggy assignment statements (== replaced by =)
This commit is contained in:
4
lmd200.c
4
lmd200.c
@ -159,7 +159,7 @@ static void interpretLine(pSICSOBJ self, pLMD200 priv)
|
||||
case WAITDATA1:
|
||||
if (strstr(priv->lineBuffer, "...0") == NULL) {
|
||||
/* this data is out of order, recover... */
|
||||
priv->state == IDLE;
|
||||
priv->state = IDLE;
|
||||
return;
|
||||
}
|
||||
storeData(self, 0, priv->lineBuffer);
|
||||
@ -168,7 +168,7 @@ static void interpretLine(pSICSOBJ self, pLMD200 priv)
|
||||
case WAITDATA2:
|
||||
if (strstr(priv->lineBuffer, "...0") == NULL) {
|
||||
/* this data is out of order, recover... */
|
||||
priv->state == IDLE;
|
||||
priv->state = IDLE;
|
||||
return;
|
||||
}
|
||||
storeData(self, 8, priv->lineBuffer);
|
||||
|
Reference in New Issue
Block a user