esp32/mcp2515: Enable irq after attaching to the pin irq
This commit is contained in:
parent
f696364b6a
commit
ae42005712
@ -163,6 +163,8 @@ static int mcp2515_attach(FAR struct mcp2515_config_s *state,
|
||||
return ret;
|
||||
}
|
||||
|
||||
esp32_gpioirqenable(irq, FALLING);
|
||||
|
||||
leave_critical_section(flags);
|
||||
|
||||
return OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user