mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
esp32/mcp2515: Enable irq after attaching to the pin irq
This commit is contained in:
committed by
Xiang Xiao
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;
|
||||
|
||||
Reference in New Issue
Block a user