Merge branch 'master' of ssh://home.hottis.de:2922/wolutator/mbus-gateway

This commit is contained in:
Wolfgang Hottgenroth 2020-09-04 19:39:13 +01:00
commit 25a966609e

View File

@ -374,6 +374,9 @@ uint8_t request(int fd, uint8_t cmd, uint8_t addr, t_longframe **retFrame) {
state = e_ERROR;
}
break;
case e_ERROR:
errlog("already error, read the rest (now: %02x) until timeout\n", c);
break;
default:
errlog("illegal state %d\n", state);
retCode = ERROR_STATE_ENGINE__ILLEGAL_STATE;