fix ble restart faild when enable ble sleep

This commit is contained in:
zhiweijian@espressif.com
2020-10-15 20:57:29 +08:00
committed by zwj
parent bdafdbbf3d
commit 28fd413bf5
2 changed files with 4 additions and 1 deletions

View File

@@ -214,6 +214,9 @@ extern "C" {
#define SYSTEM_WIFI_RST_M ((SYSTEM_WIFI_RST_V) << (SYSTEM_WIFI_RST_S))
#define SYSTEM_WIFI_RST_V 0xFFFFFFFF
#define SYSTEM_WIFI_RST_S 0
#define SYSTEM_BB_REG_RST (BIT(13))
#define SYSTEM_PWR_REG_RST (BIT(12))
#define SYSTEM_BLE_REG_RST (BIT(11))
#define SYSTEM_RW_BTLP_RST (BIT(10))
#define SYSTEM_RW_BTMAC_RST (BIT(9))
#define SYSTEM_MACPWR_RST (BIT(8))