From ebb73706c68c55f6a237ae82f0ef7690f5214b9f Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 4 Dec 2022 23:26:08 +0100 Subject: [PATCH] Fixe another accidental mess-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 97224ab99..f233e82ba 100644 --- a/src/nvr_at.c +++ b/src/nvr_at.c @@ -896,14 +896,14 @@ void nvr_at_index_read_handler(int set, uint16_t base, nvr_t *nvr) { io_handler(0, base, 1, - nvr_read, NULL, NULL, NULL, NULL, NULL, nvr); + NULL, NULL, NULL, nvr_write, NULL, NULL, nvr); nvr_at_handler(0, base, nvr); if (set) nvr_at_handler(1, base, nvr); else { io_handler(1, base, 1, - nvr_read, NULL, NULL, NULL, NULL, NULL, nvr); + NULL, NULL, NULL, nvr_write, NULL, NULL, nvr); io_handler(1, base + 1, 1, nvr_read, NULL, NULL, nvr_write, NULL, NULL, nvr); }