mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-16 18:15:53 +08:00
Remove yield calls
they are useless and may bring some conflict in loop
This commit is contained in:
parent
e281d1073f
commit
57b6fb2131
@ -135,7 +135,6 @@ uint8_t i,data;
|
|||||||
serverClients[i] = data_server->available();
|
serverClients[i] = data_server->available();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
yield();
|
|
||||||
}
|
}
|
||||||
//no free/disconnected spot so reject
|
//no free/disconnected spot so reject
|
||||||
WiFiClient serverClient = data_server->available();
|
WiFiClient serverClient = data_server->available();
|
||||||
@ -151,7 +150,6 @@ uint8_t i,data;
|
|||||||
Serial.write(data);
|
Serial.write(data);
|
||||||
COMMAND::read_buffer_tcp(data);
|
COMMAND::read_buffer_tcp(data);
|
||||||
}
|
}
|
||||||
yield();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user