This commit is contained in:
Wolfgang Hottgenroth 2020-09-04 20:38:48 +02:00
parent 0485ae4687
commit 8fa628a262
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4

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;