mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-21 21:22:31 +03:00
Merge pull request #1106 from Links2004/master
move IRQ handler timer0 to ram
This commit is contained in:
@ -109,7 +109,7 @@ typedef struct {
|
||||
static interrupt_handler_t interrupt_handlers[16];
|
||||
static uint32_t interrupt_reg = 0;
|
||||
|
||||
void interrupt_handler(void *arg) {
|
||||
void ICACHE_RAM_ATTR interrupt_handler(void *arg) {
|
||||
uint32_t status = GPIE;
|
||||
uint32_t levels = GPI;
|
||||
GPIEC = status;//clear them interrupts
|
||||
|
Reference in New Issue
Block a user