kopia lustrzana https://github.com/alanesq/esp32cam-demo
Update ESP32cam-demo.ino
rodzic
4eea351400
commit
30066279ab
|
@ -211,13 +211,14 @@ WebServer server(80); // serve web pages on port 80
|
||||||
String spiffsFilename = "/image.jpg"; // image name to use when storing in spiffs
|
String spiffsFilename = "/image.jpg"; // image name to use when storing in spiffs
|
||||||
String ImageResDetails = "Unknown"; // image resolution info
|
String ImageResDetails = "Unknown"; // image resolution info
|
||||||
|
|
||||||
#if ENABLE_OTA
|
// OTA Stuff
|
||||||
// OTA Stuff
|
bool OTAEnabled = 0; // flag to show if OTA has been enabled (via supply of password in http://x.x.x.x/ota)
|
||||||
void sendHeader(WiFiClient &client, char* hTitle); // forward declarations
|
#if ENABLE_OTA
|
||||||
void sendFooter(WiFiClient &client);
|
void sendHeader(WiFiClient &client, char* hTitle); // forward declarations
|
||||||
bool OTAEnabled = 0; // flag to show if OTA has been enabled (via supply of password in http://x.x.x.x/ota)
|
void sendFooter(WiFiClient &client);
|
||||||
#include "ota.h" // Over The Air updates (OTA)
|
#include "ota.h" // Over The Air updates (OTA)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------
|
// ---------------------------------------------------------------
|
||||||
// -SETUP SETUP SETUP SETUP SETUP SETUP
|
// -SETUP SETUP SETUP SETUP SETUP SETUP
|
||||||
|
|
Ładowanie…
Reference in New Issue