Skip to content

Commit

Permalink
fix: set flag to true in DrawableCanvas::BufferedTCPStream::connect()
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya Agarwal <[email protected]>
  • Loading branch information
Aditya-A-garwal committed Mar 25, 2024
1 parent 921326b commit 6799d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gui/src/widgets/drawablecanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 6799d31

Please sign in to comment.