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

@@ -108,6 +108,8 @@ static inline uint32_t periph_ll_get_rst_en_mask(periph_module_t periph, bool en
switch (periph) {
case PERIPH_LEDC_MODULE:
return DPORT_LEDC_RST;
case PERIPH_WIFI_MODULE:
return DPORT_WIFIMAC_RST;
case PERIPH_UART0_MODULE:
return DPORT_UART_RST;
case PERIPH_UART1_MODULE: