summaryrefslogtreecommitdiffstats
path: root/backend_shinkos1245.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-09-22 09:11:14 -0400
committerSolomon Peachy <pizza@shaftnet.org>2018-09-22 09:11:14 -0400
commit47512cb277ec971e6d0a17cdf86de4e72ca65ea2 (patch)
tree2495ec3adef33a36a1308c5869b3407688c01b0a /backend_shinkos1245.c
parent8bf63e20ec05b6ec0f7db0ac5cd89acf87be0c50 (diff)
downloadselphy_print-47512cb277ec971e6d0a17cdf86de4e72ca65ea2.tar.gz
selphy_print-47512cb277ec971e6d0a17cdf86de4e72ca65ea2.tar.bz2
selphy_print-47512cb277ec971e6d0a17cdf86de4e72ca65ea2.zip
all: Revamp "backend names" to align with gutenprint model names.
Should have done this to begin with, whoops. (All old names are retained for backwards compatibility)
Diffstat (limited to 'backend_shinkos1245.c')
-rw-r--r--backend_shinkos1245.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/backend_shinkos1245.c b/backend_shinkos1245.c
index f34f840..8172a45 100644
--- a/backend_shinkos1245.c
+++ b/backend_shinkos1245.c
@@ -1689,13 +1689,17 @@ static int shinkos1245_query_markers(void *vctx, struct marker **markers, int *c
#define USB_PID_SHINKO_S1245 0x0007
static const char *shinkos1245_prefixes[] = {
+ "shinko-chcs1245",
+ // extra
+ "sinfonia-chcs1245",
+ // backwards-compatibility
"shinkos1245",
NULL
};
struct dyesub_backend shinkos1245_backend = {
.name = "Shinko/Sinfonia CHC-S1245/E1",
- .version = "0.25",
+ .version = "0.26",
.uri_prefixes = shinkos1245_prefixes,
.cmdline_usage = shinkos1245_cmdline,
.cmdline_arg = shinkos1245_cmdline_arg,
@@ -1708,7 +1712,7 @@ struct dyesub_backend shinkos1245_backend = {
.query_serno = shinkos1245_query_serno,
.query_markers = shinkos1245_query_markers,
.devices = {
- { USB_VID_SHINKO, USB_PID_SHINKO_S1245, P_SHINKO_S1245, NULL, "shinkos1245"},
+ { USB_VID_SHINKO, USB_PID_SHINKO_S1245, P_SHINKO_S1245, NULL, "shinko-chcs1245"},
{ 0, 0, 0, NULL, NULL}
}
};