Skip to content

Commit

Permalink
Merge pull request #1 from lewisxhe/master
Browse files Browse the repository at this point in the history
Add header files, compatible with esp32s3
  • Loading branch information
garthvh authored Sep 9, 2022
2 parents daf6ca1 + 6900520 commit b0d945f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/HTTPConnection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

#include <string>
#include <mbedtls/base64.h>
#if CONFIG_IDF_TARGET_ESP32S3
#include "sha/sha_parallel_engine.h"
#else
#include <hwcrypto/sha.h>
#endif
#include <functional>

// Required for sockets
Expand Down
3 changes: 3 additions & 0 deletions src/WebsocketHandler.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#include "WebsocketHandler.hpp"

#ifndef TAG
#define TAG "WebsocketHandler"
#endif
namespace httpsserver {

/**
Expand Down

0 comments on commit b0d945f

Please sign in to comment.