esp32/mcp2515: Enable irq after attaching to the pin irq

This commit is contained in:
Alan C. Assis 2021-04-21 15:55:00 -03:00 committed by Xiang Xiao
parent f696364b6a
commit ae42005712

View File

@ -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;