From 363fa33b589e6279d6eb9e4e27f5873efc14a78e Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 25 Mar 2019 20:57:37 -0400 Subject: [PATCH] mitsup9x: report media-empty state --- backend_mitsup95d.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/backend_mitsup95d.c b/backend_mitsup95d.c index dff8618..aa75aef 100644 --- a/backend_mitsup95d.c +++ b/backend_mitsup95d.c @@ -585,6 +585,13 @@ static int mitsup95d_query_markers(void *vctx, struct marker **markers, int *cou } } + /* Lot state */ + if (ctx->marker.levelnow) + STATE("-media-empty\n"); + else + STATE("+media-empty\n"); + + *markers = &ctx->marker; *count = 1; @@ -602,7 +609,7 @@ static const char *mitsup95d_prefixes[] = { /* Exported */ struct dyesub_backend mitsup95d_backend = { .name = "Mitsubishi P93D/P95D", - .version = "0.11", + .version = "0.12", .uri_prefixes = mitsup95d_prefixes, .cmdline_arg = mitsup95d_cmdline_arg, .cmdline_usage = mitsup95d_cmdline,