未验证 提交 5a42cef2 编写于 作者: J Junjie Cai 提交者: GitHub

Merge pull request #117 from wanglingsong/dev_esp32_gpio_hal_

Free isr service related resources in hal_gpio_finalize
......@@ -171,6 +171,7 @@ int32_t hal_gpio_finalize(aos_gpio_dev_t *gpio)
io_conf.pull_up_en = 0;
//configure GPIO with the given settings
ret = gpio_config(&io_conf);
// uninstall isr service
gpio_uninstall_isr_service();
return ret;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册