указала другой уровень оптимизации для обработчиков прерываний

This commit is contained in:
klassents committed 2024-10-11 20:07:59 +07:00
1 parent 067284dd0b
commit 9d4483f9e9
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ void enableInterrupt(uint8_t interruptNum)
}
// common gpio interrupt handler
void gpio_interrupt_handler(void) __attribute__((noinline, section(".ram_text")));
void gpio_interrupt_handler(void) __attribute__((noinline, section(".ram_text"), optimize("O3")));
void gpio_interrupt_handler(void)
{
// go through all the interrupts and call the handler for the triggered line