Merge branch 'master' of ssh://home.hottis.de:2922/wolutator/mbus-gateway
This commit is contained in:
@ -374,6 +374,9 @@ uint8_t request(int fd, uint8_t cmd, uint8_t addr, t_longframe **retFrame) {
|
|||||||
state = e_ERROR;
|
state = e_ERROR;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case e_ERROR:
|
||||||
|
errlog("already error, read the rest (now: %02x) until timeout\n", c);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
errlog("illegal state %d\n", state);
|
errlog("illegal state %d\n", state);
|
||||||
retCode = ERROR_STATE_ENGINE__ILLEGAL_STATE;
|
retCode = ERROR_STATE_ENGINE__ILLEGAL_STATE;
|
||||||
|
Reference in New Issue
Block a user