mitsud90: Fix regression on W5000 model
This commit is contained in:
parent
a9e702979f
commit
e82aeb6918
|
@ -1180,7 +1180,8 @@ static int mitsud90_read_parse(void *vctx, const void **vjob, int data_fd, int c
|
|||
}
|
||||
|
||||
/* Override model code as needed */
|
||||
if (job->hdr.hdr[5] != ctx->hdr_model_code)
|
||||
if (ctx->conn->type == P_MITSU_D90 &&
|
||||
job->hdr.hdr[5] != ctx->hdr_model_code)
|
||||
job->hdr.hdr[5] = ctx->hdr_model_code;
|
||||
|
||||
/* Initial parsing */
|
||||
|
@ -2666,7 +2667,7 @@ static const struct device_id mitsud90_devices[] = {
|
|||
/* Exported */
|
||||
const struct dyesub_backend mitsud90_backend = {
|
||||
.name = "Mitsubishi CP-D90/CP-M1/CP-W5000",
|
||||
.version = "0.54" " (lib " LIBMITSU_VER ")",
|
||||
.version = "0.55" " (lib " LIBMITSU_VER ")",
|
||||
.flags = BACKEND_FLAG_DUMMYPRINT,
|
||||
.uri_prefixes = mitsud90_prefixes,
|
||||
.devices = mitsud90_devices,
|
||||
|
|
Loading…
Reference in a new issue