From 4c54da6e34fa632a76963ed015e069ea8e032fb1 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Thu, 7 Dec 2023 13:59:23 +0700 Subject: [PATCH] Update espmega_iot_core.cpp --- src/espmega_iot_core.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/espmega_iot_core.cpp b/src/espmega_iot_core.cpp index 7b92f4b..3a43d4e 100644 --- a/src/espmega_iot_core.cpp +++ b/src/espmega_iot_core.cpp @@ -545,16 +545,13 @@ void ota_begin() otaserver.on("/lcd_update",HTTP_POST,[]() { otaserver.sendHeader("Connection","close"); },[](){ + for(int i=0;i