Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Fix ESP32
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Aug 1, 2021
1 parent e910586 commit cbde804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuinoCoin_Esp_Async_Master/DuinoCoin_Clients.ino
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ bool clients_connect(byte i)

ws_sendAll("[" + String(i) + "]" + "Connecting to Duino-Coin server...");

if (!clients[i].connect(host, port))
if (!clients[i].connect(host.c_str(), port))
{
Serial.print("[" + String(i) + "]");
Serial.println("Connection failed.");
Expand Down

0 comments on commit cbde804

Please sign in to comment.