From 15b2b8178b59bd65e14a2d3425a0215f55522fbb Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 4 Dec 2022 23:07:39 +0100 Subject: [PATCH] Fixed a minor accidental screw-up in nvr_at.c. --- src/nvr_at.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvr_at.c b/src/nvr_at.c index 301399533..97224ab99 100644 --- a/src/nvr_at.c +++ b/src/nvr_at.c @@ -902,9 +902,9 @@ nvr_at_index_read_handler(int set, uint16_t base, nvr_t *nvr) if (set) nvr_at_handler(1, base, nvr); else { - io_handler(set, base, 1, + io_handler(1, base, 1, nvr_read, NULL, NULL, NULL, NULL, NULL, nvr); - io_handler(set, base + 1, 1, + io_handler(1, base + 1, 1, nvr_read, NULL, NULL, nvr_write, NULL, NULL, nvr); } }