mirror of
https://github.com/s00500/ESPUI.git
synced 2025-08-01 19:05:31 +00:00
Fix regression caused by f06781bc03
. See comments in commit on Github.
This commit is contained in:
@@ -812,7 +812,7 @@ void ESPUIClass::updateControl(Control* control, int clientId)
|
|||||||
// function like this and it's clients array is private
|
// function like this and it's clients array is private
|
||||||
int tryId = 0;
|
int tryId = 0;
|
||||||
|
|
||||||
for (size_t count = 0; tryId < (int)this->ws->count() && count < this->ws->count();)
|
for (size_t count = 0; count < this->ws->count();)
|
||||||
{
|
{
|
||||||
if (this->ws->hasClient(tryId))
|
if (this->ws->hasClient(tryId))
|
||||||
{
|
{
|
||||||
@@ -1014,7 +1014,7 @@ void ESPUIClass::addGraphPoint(uint16_t id, int nValue, int clientId)
|
|||||||
// function like this and it's clients array is private
|
// function like this and it's clients array is private
|
||||||
int tryId = 0;
|
int tryId = 0;
|
||||||
|
|
||||||
for (size_t count = 0; tryId < (int)this->ws->count() && count < this->ws->count();)
|
for (size_t count = 0; count < this->ws->count();)
|
||||||
{
|
{
|
||||||
if (this->ws->hasClient(tryId))
|
if (this->ws->hasClient(tryId))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user