esp_wifi: add protection for mac reset

This commit is contained in:
liuning
2022-10-27 17:30:45 +08:00
committed by BOT
parent 7278cf3e16
commit 57c394c4e0
10 changed files with 15 additions and 19 deletions

View File

@@ -74,6 +74,8 @@ static inline uint32_t periph_ll_get_rst_en_mask(periph_module_t periph, bool en
return SYSTEM_APB_SARADC_RST;
case PERIPH_LEDC_MODULE:
return SYSTEM_LEDC_RST;
case PERIPH_WIFI_MODULE:
return SYSTEM_MAC_RST;
case PERIPH_UART0_MODULE:
return SYSTEM_UART_RST;
case PERIPH_UART1_MODULE: