Skip to content

Commit

Permalink
esp_wifi: implement wifi_reset_mac_wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
esp-wzh committed Jun 28, 2023
1 parent 2e5a194 commit afc889e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/esp_wifi/esp32c6/esp_adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "esp_event.h"
#include "esp_heap_caps.h"
#include "esp_timer.h"
#include "esp_private/esp_modem_clock.h"
#include "esp_private/wifi_os_adapter.h"
#include "esp_private/wifi.h"
#include "esp_phy_init.h"
Expand Down Expand Up @@ -297,9 +298,7 @@ static void IRAM_ATTR timer_arm_wrapper(void *timer, uint32_t tmout, bool repeat

static void wifi_reset_mac_wrapper(void)
{
// TODO: IDF-5713
modem_clock_wifi_mac_reset();
ESP_LOGW(TAG, "wifi_reset_mac_wrapper() has not been implemented yet");
modem_clock_module_mac_reset(PERIPH_WIFI_MODULE);
}

static void wifi_clock_enable_wrapper(void)
Expand Down

0 comments on commit afc889e

Please sign in to comment.