mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
platformio esp8266, esp32
This commit is contained in:
@@ -64,6 +64,8 @@ class AsyncResponseStream;
|
||||
#ifdef ESP8266WEBSERVER_H
|
||||
#define HTTP_ENUM
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef HTTP_ENUM
|
||||
typedef enum { HTTP_GET = 0b00000001,
|
||||
HTTP_POST = 0b00000010,
|
||||
@@ -75,7 +77,6 @@ typedef enum { HTTP_GET = 0b00000001,
|
||||
HTTP_ANY = 0b01111111,
|
||||
} WebRequestMethod;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//if this value is returned when asked for data, packet will not be sent and you will be asked for data again
|
||||
#define RESPONSE_TRY_AGAIN 0xFFFFFFFF
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#ifndef SPIFFSEditor_H_
|
||||
#define SPIFFSEditor_H_
|
||||
#include <ESPAsyncWebServer.h>
|
||||
|
||||
#ifdef ESP8266
|
||||
#include <LittleFS.h>
|
||||
#endif
|
||||
|
||||
class SPIFFSEditor : public AsyncWebHandler {
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user