From f8052ae19dd62923c315c0be67ab761decf449b7 Mon Sep 17 00:00:00 2001 From: klassents Date: Sun, 13 Oct 2024 11:28:36 +0700 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cores/arduino/WInterrupts.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cores/arduino/WInterrupts.c b/cores/arduino/WInterrupts.c index 472ab82..9c4ad1a 100644 --- a/cores/arduino/WInterrupts.c +++ b/cores/arduino/WInterrupts.c @@ -114,8 +114,7 @@ void enableInterrupt(uint8_t interruptNum) } // common gpio interrupt handler -void gpio_interrupt_handler(void) __attribute__((noinline, section(".ram_text"), optimize("O3"))); -void gpio_interrupt_handler(void) +void __attribute__((noinline, section(".ram_text"), optimize("O3"))) gpio_interrupt_handler(void) { // go through all the interrupts and call the handler for the triggered line for (uint8_t i = 0; i < EXTERNAL_NUM_INTERRUPTS; i++)