mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-09-25 22:00:55 +02:00
moved backported files
This commit is contained in:
@@ -23,13 +23,6 @@ src_dir = examples/SimpleServer
|
|||||||
; src_dir = examples/Draft
|
; src_dir = examples/Draft
|
||||||
; src_dir = examples/issues/Issue14
|
; src_dir = examples/issues/Issue14
|
||||||
|
|
||||||
[env:arduino]
|
|
||||||
platform = espressif32
|
|
||||||
board = esp32dev
|
|
||||||
lib_deps =
|
|
||||||
bblanchon/ArduinoJson @ 7.1.0
|
|
||||||
mathieucarbou/AsyncTCP @ 3.2.5
|
|
||||||
|
|
||||||
[env:arduino-2]
|
[env:arduino-2]
|
||||||
platform = espressif32@6.8.1
|
platform = espressif32@6.8.1
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#if defined(ESP32)
|
#if defined(ESP32)
|
||||||
#if ESP_IDF_VERSION_MAJOR < 5
|
#if ESP_IDF_VERSION_MAJOR < 5
|
||||||
#include "./port/SHA1Builder.h"
|
#include "BackPort_SHA1Builder.h"
|
||||||
#else
|
#else
|
||||||
#include <SHA1Builder.h>
|
#include <SHA1Builder.h>
|
||||||
#endif
|
#endif
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#if ESP_IDF_VERSION_MAJOR < 5
|
#if ESP_IDF_VERSION_MAJOR < 5
|
||||||
|
|
||||||
#include "SHA1Builder.h"
|
#include "BackPort_SHA1Builder.h"
|
||||||
|
|
||||||
// 32-bit integer manipulation macros (big endian)
|
// 32-bit integer manipulation macros (big endian)
|
||||||
|
|
||||||
@@ -202,7 +202,7 @@ void SHA1Builder::process(const uint8_t *data) {
|
|||||||
|
|
||||||
// Public methods
|
// Public methods
|
||||||
|
|
||||||
void SHA1Builder::begin(void) {
|
void SHA1Builder::begin() {
|
||||||
total[0] = 0;
|
total[0] = 0;
|
||||||
total[1] = 0;
|
total[1] = 0;
|
||||||
|
|
@@ -12,6 +12,9 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
#include <Arduino.h>
|
||||||
|
#if ESP_IDF_VERSION_MAJOR < 5
|
||||||
|
|
||||||
#ifndef SHA1Builder_h
|
#ifndef SHA1Builder_h
|
||||||
#define SHA1Builder_h
|
#define SHA1Builder_h
|
||||||
|
|
||||||
@@ -37,3 +40,5 @@ class SHA1Builder {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#endif // SHA1Builder_h
|
#endif // SHA1Builder_h
|
||||||
|
|
||||||
|
#endif // ESP_IDF_VERSION_MAJOR < 5
|
Reference in New Issue
Block a user