Skip to content

Commit

Permalink
Flush on ESP8266, not purge
Browse files Browse the repository at this point in the history
  • Loading branch information
thorrak committed Dec 15, 2024
1 parent 29943e7 commit a3c454b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ESP_BP_WiFi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void wifi_connect_clients() {
serverClient = server.accept();

#ifdef ESP8266
serverClient.purge();
serverClient.flush();
#else
serverClient.clear();
#endif
Expand All @@ -214,7 +214,7 @@ void wifi_connect_clients() {
serverClient.stop();
serverClient = server.accept();
#ifdef ESP8266
serverClient.purge();
serverClient.flush();
#else
serverClient.clear();
#endif
Expand Down

0 comments on commit a3c454b

Please sign in to comment.