From 7ce4ef83b128d08eeb2d002f0a044af80a8f6e2a Mon Sep 17 00:00:00 2001 From: Tester23 <85486843+openshwprojects@users.noreply.github.com> Date: Tue, 19 Aug 2025 21:14:07 +0200 Subject: [PATCH] fx --- src/driver/drv_bl0937.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/drv_bl0937.c b/src/driver/drv_bl0937.c index 4d04de781..41a478153 100644 --- a/src/driver/drv_bl0937.c +++ b/src/driver/drv_bl0937.c @@ -117,7 +117,7 @@ void Realtek_Interrupt(uint32_t obkPinNum, gpio_irq_event event) void HAL_AttachInterrupt(int pinIndex, OBKInterrupt_t mode, OBKInterruptHandler function) { g_handlers[pinIndex] = function; - rtlPinMapping_t *rtl_cf = g_pins + GPIO_HLW_CF; + rtlPinMapping_t *rtl_cf = g_pins + pinIndex; #if PLATFORM_RTL87X0C if (rtl_cf->gpio != NULL) {