1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

speed up WiFi.hostByName when the hostname is actually a IP.

This commit is contained in:
Markus Sattler
2016-02-18 23:00:25 +01:00
parent 127f05da9f
commit 3e9dede14e
2 changed files with 28 additions and 1 deletions

View File

@ -25,6 +25,16 @@
#include "ESP8266WiFiType.h"
#ifdef DEBUG_ESP_WIFI
#ifdef DEBUG_ESP_PORT
#define DEBUG_WIFI_GENERIC(...) DEBUG_ESP_PORT.printf( __VA_ARGS__ )
#endif
#endif
#ifndef DEBUG_WIFI_GENERIC
#define DEBUG_WIFI_GENERIC(...)
#endif
typedef void (*WiFiEventCb)(WiFiEvent_t event);
typedef struct {