summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-01 00:38:23 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-01 00:38:23 -0400
commitcbf18a0e233fd8b57ccb4bbe25a30c4fe9ef4afc (patch)
tree3dea99834ea9ba86287714f2d4a43a8f9d3776da
parent51f0c1bfc42ab85177f4961c95251ed592b4b218 (diff)
downloadselphy_print-cbf18a0e233fd8b57ccb4bbe25a30c4fe9ef4afc.tar.gz
selphy_print-cbf18a0e233fd8b57ccb4bbe25a30c4fe9ef4afc.tar.bz2
selphy_print-cbf18a0e233fd8b57ccb4bbe25a30c4fe9ef4afc.zip
s2245: fix identification dump.
(untested bla bla bla)
-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,