mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
board/xtensa/esp32: fix leaving from critical section
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -161,6 +161,7 @@ static int mcp2515_attach(FAR struct mcp2515_config_s *state,
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: gpint_attach() failed: %d\n", ret);
|
||||
leave_critical_section(flags);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user