We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f37967 commit 18ac673Copy full SHA for 18ac673
src/AsyncTCP.cpp
@@ -975,7 +975,7 @@ int8_t AsyncClient::_poll(tcp_pcb* pcb){
975
976
// ACK Timeout
977
if(_ack_timeout){
978
- uint32_t one_day = 86400000;
+ const uint32_t one_day = 86400000;
979
bool last_tx_is_after_last_ack = (_rx_last_ack - _tx_last_packet + one_day) < one_day;
980
if(last_tx_is_after_last_ack && (now - _tx_last_packet) >= _ack_timeout) {
981
log_w("ack timeout %d", pcb->state);
0 commit comments