mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
esp32_gpioirqenable(irq, FALLING);
|
||||||
|
|
||||||
leave_critical_section(flags);
|
leave_critical_section(flags);
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user