mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-24 20:11:59 +00:00
esp_wifi: add protection for mac reset
This commit is contained in:
@@ -95,6 +95,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:
|
||||
|
||||
Reference in New Issue
Block a user