components/bt: Shutdown Bluetooth before esp_restart.

This commit is contained in:
baohongde
2020-12-21 20:08:10 +08:00
parent ec4de5bd38
commit 3b0fc48ab4
2 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
#endif
#define SHUTDOWN_HANDLERS_NO 3
#define SHUTDOWN_HANDLERS_NO 4
static shutdown_handler_t shutdown_handlers[SHUTDOWN_HANDLERS_NO];
esp_err_t esp_register_shutdown_handler(shutdown_handler_t handler)