mirror of
https://github.com/luc-github/ESP3D.git
synced 2025-10-31 11:56:48 -07:00
Send M105 only if no temperature is sent
so went printer is heating and automaticaly send temperature no M105 is necessary Add some yield() to avoid possible WD triggered
This commit is contained in:
@@ -112,6 +112,7 @@ uint8_t i,data;
|
||||
serverClients[i] = data_server->available();
|
||||
continue;
|
||||
}
|
||||
yield();
|
||||
}
|
||||
//no free/disconnected spot so reject
|
||||
WiFiClient serverClient = data_server->available();
|
||||
@@ -127,6 +128,7 @@ uint8_t i,data;
|
||||
Serial.write(data);
|
||||
COMMAND::read_buffer_tcp(data);
|
||||
}
|
||||
yield();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user