summaryrefslogtreecommitdiffstats
path: root/backend_shinkos2145.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_shinkos2145.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_shinkos2145.c')
-rw-r--r--backend_shinkos2145.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/backend_shinkos2145.c b/backend_shinkos2145.c
index 334d4f1..5879fa6 100644
--- a/backend_shinkos2145.c
+++ b/backend_shinkos2145.c
@@ -1795,13 +1795,17 @@ static int shinkos2145_query_markers(void *vctx, struct marker **markers, int *c
#define USB_PID_SHINKO_S2145 0x000E
static const char *shinkos2145_prefixes[] = {
+ "shinko-chcs2145",
+ // extras
+ "sinfonia-chcs2145",
+ // Backwards compatibility
"shinkos2145",
NULL
};
struct dyesub_backend shinkos2145_backend = {
.name = "Shinko/Sinfonia CHC-S2145/S2",
- .version = "0.54",
+ .version = "0.55",
.uri_prefixes = shinkos2145_prefixes,
.cmdline_usage = shinkos2145_cmdline,
.cmdline_arg = shinkos2145_cmdline_arg,
@@ -1814,7 +1818,7 @@ struct dyesub_backend shinkos2145_backend = {
.query_serno = shinkos2145_query_serno,
.query_markers = shinkos2145_query_markers,
.devices = {
- { USB_VID_SHINKO, USB_PID_SHINKO_S2145, P_SHINKO_S2145, NULL, "shinkos2145"},
+ { USB_VID_SHINKO, USB_PID_SHINKO_S2145, P_SHINKO_S2145, NULL, "shinko-chc2145"},
{ 0, 0, 0, NULL, NULL}
}
};