From 9132b5cfee25702cb7c4623b5188f25d0f2857cb Mon Sep 17 00:00:00 2001 From: toggo9 <121191375+toggo9@users.noreply.github.com> Date: Sun, 12 Oct 2025 03:24:33 +0200 Subject: [PATCH] Remove the unused (and in this case useless) Morrison64 GPIO Handler. (#6323) --- src/machine/m_at_socket5.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/machine/m_at_socket5.c b/src/machine/m_at_socket5.c index dc4064d31..b6065a27d 100644 --- a/src/machine/m_at_socket5.c +++ b/src/machine/m_at_socket5.c @@ -488,22 +488,6 @@ machine_at_morrison64_gpio_init(void) machine_set_gpio_default(gpio); } -uint32_t -machine_at_morrison64_gpio_handler(uint8_t write, uint32_t val) -{ - uint32_t ret = machine_get_gpio_default(); - - if (write) { - ret &= ((val & 0xffffffcf) | 0xffff0000); - ret |= (val & 0x00000030); - - machine_set_gpio(ret); - } else - ret = machine_get_gpio(); - - return ret; -} - int machine_at_pc330_65x6_init(const machine_t *model) {