mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-11-15 13:35:52 +00:00
Don't send gcode requests twice
This commit is contained in:
1 parent
ff1c13602c
commit
c9f8935310
1 file changed
-2
@@ -53,8 +53,6 @@ void send_gcode(bool wait, const char *gcode)
|
||||
if (global_config.auth_configured)
|
||||
client.addHeader("X-Api-Key", global_config.klipper_auth);
|
||||
|
||||
int httpCode = client.GET();
|
||||
|
||||
if (!wait)
|
||||
{
|
||||
client.setTimeout(1000);
|
||||
|
||||
Reference in new issue
Block a user