mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
emulation on host: fix for latest changes in DNSServer (#8559)
This commit is contained in:
parent
bcb5464167
commit
8d5dda02f6
@ -2,7 +2,7 @@
|
|||||||
#include "DNSServer.h"
|
#include "DNSServer.h"
|
||||||
#include <lwip/def.h>
|
#include <lwip/def.h>
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <memory>
|
|
||||||
extern struct rst_info resetInfo;
|
extern struct rst_info resetInfo;
|
||||||
|
|
||||||
#ifdef DEBUG_ESP_PORT
|
#ifdef DEBUG_ESP_PORT
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#ifndef DNSServer_h
|
#ifndef DNSServer_h
|
||||||
#define DNSServer_h
|
#define DNSServer_h
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
#include <WiFiUdp.h>
|
#include <WiFiUdp.h>
|
||||||
|
|
||||||
// #define DEBUG_DNSSERVER
|
// #define DEBUG_DNSSERVER
|
||||||
|
@ -36,6 +36,9 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include <user_interface.h>
|
||||||
|
struct rst_info resetInfo;
|
||||||
|
|
||||||
unsigned long long operator"" _kHz(unsigned long long x)
|
unsigned long long operator"" _kHz(unsigned long long x)
|
||||||
{
|
{
|
||||||
return x * 1000;
|
return x * 1000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user