Skip to content

Commit d50488c

Browse files
committed
Updated Header for IDF_v4.4 and Commented Logging
1 parent 4afc43a commit d50488c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: src/HTTPConnection.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
#include <string>
88
#include <mbedtls/base64.h>
9-
#include <hwcrypto/sha.h>
9+
//#include <hwcrypto/sha.h> // Depracated
10+
#include <sha/sha_parallel_engine.h> // For use with IDF4.4
1011
#include <functional>
1112

1213
// Required for sockets

Diff for: src/WebsocketHandler.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ static void dumpFrame(WebsocketFrame frame) {
1616
case WebsocketHandler::OPCODE_PONG: opcode = std::string("PONG"); break;
1717
case WebsocketHandler::OPCODE_TEXT: opcode = std::string("TEXT"); break;
1818
}
19+
/* Commenting Logging function
1920
ESP_LOGI(
2021
TAG,
2122
"Fin: %d, OpCode: %d (%s), Mask: %d, Len: %d",
@@ -25,6 +26,7 @@ static void dumpFrame(WebsocketFrame frame) {
2526
(int)frame.mask,
2627
(int)frame.len
2728
);
29+
*/
2830
}
2931

3032
WebsocketHandler::WebsocketHandler() {

0 commit comments

Comments
 (0)