wifi: move type definitions into separate header file

While this may reduce esp_wifi.h file readability for people who don't have a "go to definition" function in their editors, this is needed to decouple esp_wifi and esp_event headers, and possibly other headers which may use wifi types in the future.
This commit is contained in:
Ivan Grokhotkov
2016-09-27 11:47:47 +08:00
parent 01a7efad88
commit 952df01a10
4 changed files with 196 additions and 161 deletions

View File

@@ -17,7 +17,7 @@
#include <stdint.h>
#include "rom/queue.h"
#include "esp_wifi.h"
#include "esp_wifi_types.h"
#define CONFIG_TCPIP_LWIP 1
#define CONFIG_DHCP_STA_LIST 1