summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-05-17 07:27:36 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-05-17 07:27:36 -0400
commit81e5c5067a967ba1cb57d68e55b31a19c182bb34 (patch)
tree0aa051dca1cfc76c9d00a092dffa24ffeca97364
parent511a0f3b0f51d6a4d0eb448ea6c6fc1e852600ed (diff)
downloadselphy_print-81e5c5067a967ba1cb57d68e55b31a19c182bb34.tar.gz
selphy_print-81e5c5067a967ba1cb57d68e55b31a19c182bb34.tar.bz2
selphy_print-81e5c5067a967ba1cb57d68e55b31a19c182bb34.zip
dnpds80dx: Fix media_count_new for 8x12 cut media
-rw-r--r--backend_dnpds40.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend_dnpds40.c b/backend_dnpds40.c
index 7627b25..b5ef397 100644
--- a/backend_dnpds40.c
+++ b/backend_dnpds40.c
@@ -1193,7 +1193,7 @@ static int dnpds40_attach(void *vctx, struct libusb_device_handle *dev, int type
if (ctx->type == P_DNP_DS80D) {
ctx->marker[1].color = "#00FFFF#FF00FF#FFFF00";
ctx->marker[1].name = dnpds80_duplex_media_types(ctx->duplex_media);
- ctx->marker[1].levelmax = 65;
+ ctx->marker[1].levelmax = ctx->marker[0].levelmax/2;
ctx->marker[1].levelnow = -2;
ctx->marker_count++;
}
@@ -3075,7 +3075,7 @@ static const char *dnpds40_prefixes[] = {
/* Exported */
struct dyesub_backend dnpds40_backend = {
.name = "DNP DS-series / Citizen C-series",
- .version = "0.112",
+ .version = "0.113",
.uri_prefixes = dnpds40_prefixes,
.flags = BACKEND_FLAG_JOBLIST,
.cmdline_usage = dnpds40_cmdline,