mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
can/sja100: leave critical section properly
leave critical section properly before return Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
@@ -339,7 +339,6 @@ static int sja1000_setup(struct can_dev_s *dev)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
canerr("ERROR: Failed to attach to IRQ Handler!\n");
|
canerr("ERROR: Failed to attach to IRQ Handler!\n");
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_HAVE_MULTICPU
|
#ifdef CONFIG_ARCH_HAVE_MULTICPU
|
||||||
|
|||||||
Reference in New Issue
Block a user