esp_wifi: add protection for mac reset (backport 4.3)

This commit is contained in:
liuning
2022-10-27 17:30:45 +08:00
parent 635a9c5efb
commit dbe59eff86
8 changed files with 12 additions and 14 deletions

View File

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