mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 18:40:59 +02:00
fix(esp_wifi): Remove esp_interface.h
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#include "esp_event_base.h"
|
#include "esp_event_base.h"
|
||||||
#include "esp_interface.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -35,10 +34,10 @@ typedef enum {
|
|||||||
* @brief Wi-Fi interface type
|
* @brief Wi-Fi interface type
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
WIFI_IF_STA = ESP_IF_WIFI_STA, /**< Station interface */
|
WIFI_IF_STA, /**< Station interface */
|
||||||
WIFI_IF_AP = ESP_IF_WIFI_AP, /**< Soft-AP interface */
|
WIFI_IF_AP, /**< Soft-AP interface */
|
||||||
#if CONFIG_SOC_WIFI_NAN_SUPPORT || !CONFIG_SOC_WIFI_ENABLED
|
#if CONFIG_SOC_WIFI_NAN_SUPPORT || !CONFIG_SOC_WIFI_ENABLED
|
||||||
WIFI_IF_NAN = ESP_IF_WIFI_NAN, /**< NAN interface */
|
WIFI_IF_NAN, /**< NAN interface */
|
||||||
#endif
|
#endif
|
||||||
WIFI_IF_MAX /**< Maximum number of interfaces */
|
WIFI_IF_MAX /**< Maximum number of interfaces */
|
||||||
} wifi_interface_t;
|
} wifi_interface_t;
|
||||||
|
Reference in New Issue
Block a user