diff --git a/esp32cam-demo.ino b/esp32cam-demo.ino index ecb1182..4f035c1 100644 --- a/esp32cam-demo.ino +++ b/esp32cam-demo.ino @@ -982,7 +982,7 @@ void readRGBImage() { } // html header - //client.write(" photo \n"); // basic html header + if (!sendRGBfile) client.write(" photo \n"); // basic html header MessageRGB(client,"LIVE IMAGE AS RGB DATA"); // 'MessageRGB' sends the String to both serial port and web page