From 970882c7ac978207ab074b6add84455c7f380ee6 Mon Sep 17 00:00:00 2001 From: SarahW Date: Fri, 1 Sep 2017 11:34:36 +0100 Subject: [PATCH] Swap default LPT1 and LPT2 port assignments. --- src/lpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lpt.c b/src/lpt.c index 2f47c6b..d3264b2 100644 --- a/src/lpt.c +++ b/src/lpt.c @@ -124,8 +124,8 @@ uint8_t lpt2_read(uint16_t port, void *priv) void lpt_init() { - io_sethandler(0x0278, 0x0003, lpt1_read, NULL, NULL, lpt1_write, NULL, NULL, NULL); - io_sethandler(0x0378, 0x0003, lpt2_read, NULL, NULL, lpt2_write, NULL, NULL, NULL); + io_sethandler(0x0378, 0x0003, lpt1_read, NULL, NULL, lpt1_write, NULL, NULL, NULL); + io_sethandler(0x0278, 0x0003, lpt2_read, NULL, NULL, lpt2_write, NULL, NULL, NULL); } void lpt1_init(uint16_t port)