Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request devyte#4 from guestisp/master
Browse files Browse the repository at this point in the history
Add support for ESP32
  • Loading branch information
devyte authored May 21, 2022
2 parents 2921be0 + eacda62 commit 119dd3c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ESPAsyncDNSServer.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
#ifndef ESPAsyncDNSServer_h
#define ESPAsyncDNSServer_h

#ifdef ARDUINO_ARCH_ESP32
#ifndef Stream_h
#include <Stream.h>
#endif
#include <AsyncUDP.h>
#else
#include <ESPAsyncUDP.h>
#endif

#define DNS_QR_QUERY 0
#define DNS_QR_RESPONSE 1
Expand Down

0 comments on commit 119dd3c

Please sign in to comment.