From 6799d3140e0b6d1ebfb5f2aec35303dbd245f404 Mon Sep 17 00:00:00 2001 From: Aditya Agarwal Date: Mon, 25 Mar 2024 21:14:38 +0530 Subject: [PATCH] fix: set flag to true in DrawableCanvas::BufferedTCPStream::connect() Signed-off-by: Aditya Agarwal --- lib/gui/src/widgets/drawablecanvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gui/src/widgets/drawablecanvas.cpp b/lib/gui/src/widgets/drawablecanvas.cpp index c7c223c..61068d1 100644 --- a/lib/gui/src/widgets/drawablecanvas.cpp +++ b/lib/gui/src/widgets/drawablecanvas.cpp @@ -405,7 +405,7 @@ void DrawableCanvas::reset_compressed() { signed DrawableCanvas::BufferedTCPStream::connect(WiFiClient *ptr, const char *server_ip, const uint16_t server_port) { client = ptr; size = 0; - flag = false; + flag = true; return client->connect(IPAddress(server_ip), server_port); }