From 4af56464aa430d14f27bc416c40df881c86bd458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Victor?= Date: Sat, 13 Feb 2021 13:42:33 +0100 Subject: [PATCH] Fix 17-year-old spelling error hopefully fixing horrible concurrency problems which appears on faster hardware(?). --- src/dvch11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dvch11.c b/src/dvch11.c index 2dad635..3b683e2 100644 --- a/src/dvch11.c +++ b/src/dvch11.c @@ -622,7 +622,7 @@ ch11_cmd_status(struct ch11 *ch, FILE *of) fprintf(of,"Input possible: %d, Output possible: %d\n", ch->ch_inactf, ch->ch_outactf); fprintf(of, "DP status: %d\n", ch->ch_dpstate); fprintf(of, "DP Rtest: %d, Stest: %d\n", - (int)dp_xrtest(dp_dpxfr(&ch->ch_dp)), (int)dp_xstest(dp_dpxfr(&ch->ch_dp))); + (int)dp_xrtest(dp_dpxfr(&ch->ch_dp)), (int)dp_xstest(dp_dpxto(&ch->ch_dp))); fprintf(of, "DP rcmd: %d, rcnt: %d\n", (int)dp_xrcmd(dp_dpxfr(&ch->ch_dp)), (int)dp_xrcnt(dp_dpxfr(&ch->ch_dp))); fprintf(of,"Input buffer: "); @@ -961,7 +961,7 @@ ch11_write(struct device *d, uint18 addr, register dvureg_t val) /* AIM628: when both xDN and xEN are set, the computer is interrupted */ if ((val & CH_TEN) && (val & CH_REN)) { /* try to be clever */ - if (dp_xstest(dp_dpxfr(&ch->ch_dp))) { + if (dp_xstest(dp_dpxto(&ch->ch_dp))) { ch_ogo(ch); /* sender's turn, process output first */ ch_igo(ch); } else {