Fixed ble_compatibility_test example NVS init error

This commit is contained in:
zwj 2022-10-18 15:41:58 +08:00 committed by zhiweijian
parent 39c03e0ce0
commit 0e0b62792f

View File

@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
@ -625,8 +625,6 @@ void app_main(void)
}
ESP_ERROR_CHECK( ret );
ESP_ERROR_CHECK(nvs_flash_erase());
ESP_ERROR_CHECK(esp_bt_controller_mem_release(ESP_BT_MODE_CLASSIC_BT));
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();