summaryrefslogtreecommitdiffstats
path: root/backend_shinkos2145.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-01-30 22:08:55 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-01-30 22:08:55 -0500
commit78c513aee3f80e90884b3df383eb0f75ab34a6d0 (patch)
tree022eef0d5f413c05c041642379b20f0902a96762 /backend_shinkos2145.c
parente83acca3c6bf71c9c714d113fe88793de6835792 (diff)
downloadselphy_print-78c513aee3f80e90884b3df383eb0f75ab34a6d0.tar.gz
selphy_print-78c513aee3f80e90884b3df383eb0f75ab34a6d0.tar.bz2
selphy_print-78c513aee3f80e90884b3df383eb0f75ab34a6d0.zip
All: Leave the "prefix" list for family or backwards-compatible names only.
...use the name in the DEVICE entry for backend matches!
Diffstat (limited to 'backend_shinkos2145.c')
-rw-r--r--backend_shinkos2145.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/backend_shinkos2145.c b/backend_shinkos2145.c
index 476cca8..5f9241c 100644
--- a/backend_shinkos2145.c
+++ b/backend_shinkos2145.c
@@ -1230,11 +1230,7 @@ static int shinkos2145_query_stats(void *vctx, struct printerstats *stats)
#define USB_PID_SHINKO_S2145 0x000E
static const char *shinkos2145_prefixes[] = {
- "shinko-chcs2145",
- // extras
- "sinfonia-chcs2145",
- // Backwards compatibility
- "shinkos2145",
+ "shinkos2145", /* Family Name */
NULL
};
@@ -1254,6 +1250,7 @@ struct dyesub_backend shinkos2145_backend = {
.query_stats = shinkos2145_query_stats,
.devices = {
{ USB_VID_SHINKO, USB_PID_SHINKO_S2145, P_SHINKO_S2145, NULL, "shinko-chc2145"},
+ { USB_VID_SHINKO, USB_PID_SHINKO_S2145, P_SHINKO_S2145, NULL, "sinfonia-chc2145"}, /* Duplicate */
{ 0, 0, 0, NULL, NULL}
}
};