Skip to content

Commit b742994

Browse files
jnovonjCopilot
andauthored
Update examples/ChargenServer/ChargenServer.ino
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7a9291c commit b742994

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/ChargenServer/ChargenServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void makeAndSendLine(); // Forward declaration
5454

5555
// Called when the client acknowledges receiving data. We use this to send more.
5656
void handleClientAck(void* arg, AsyncClient* client, size_t len, uint32_t time) {
57-
if (!client->disconnected() && client->space() > (LINE_LENGTH + 2)) {
57+
if (!client->disconnected() && client->space() >= (LINE_LENGTH + 2)) {
5858
makeAndSendLine(); // <--- ¡Aquí está la cadena!
5959
}
6060
}

0 commit comments

Comments
 (0)