From f9cce2dd8d10d934c6010333c2aee6d8155c4c29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Villac=C3=ADs=20Lasso?= Date: Wed, 23 Dec 2020 16:42:00 -0500 Subject: [PATCH] Fix variable shadowing --- src/AsyncTCP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncTCP.cpp b/src/AsyncTCP.cpp index 78beb65..b1ca90a 100644 --- a/src/AsyncTCP.cpp +++ b/src/AsyncTCP.cpp @@ -621,7 +621,7 @@ bool AsyncClient::_sockIsWriteable(void) _rx_last_packet = millis(); if (_writeQueue.front().owned) ::free(_writeQueue.front().data); sent_cb_length = _writeQueue.front().length; - uint32_t sent_cb_delay = millis() - _writeQueue.front().queued_at; + sent_cb_delay = millis() - _writeQueue.front().queued_at; _writeQueue.pop_front(); } }