summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backend_shinkos6145.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/backend_shinkos6145.c b/backend_shinkos6145.c
index 6b60424..199524b 100644
--- a/backend_shinkos6145.c
+++ b/backend_shinkos6145.c
@@ -1668,21 +1668,24 @@ static int shinkos6145_query_stats(void *vctx, struct printerstats *stats)
stats->model = "Brava 21";
break;
case P_SHINKO_S2245:
- stats->mfg = "Sinfonia";
- stats->model = "S3 / S2245";
- break;
- default:
if (usbID == USB_PID_KA_6900) {
stats->mfg = "Kodak";
stats->model = "6900";
} else if (usbID == USB_PID_HITI_M610) {
stats->mfg = "HiTi";
stats->model = "M610";
+ } else if (usbID == USB_PID_SHINKO_S2245) {
+ stats->mfg = "Sinfonia";
+ stats->model = "S3 / S2245";
} else {
stats->mfg = "Unknown";
stats->model = "Unknown";
}
break;
+ default:
+ stats->mfg = "Unknown";
+ stats->model = "Unknown";
+ break;
}
if (sinfonia_query_serno(ctx->dev.dev, ctx->dev.endp_up,