From 7168825854c949e126887dd6f75a60b7e8a40070 Mon Sep 17 00:00:00 2001 From: Andrii Date: Sun, 14 Mar 2021 18:26:03 +0200 Subject: [PATCH] Fixes #2 (#3) * fixed reorder "error-as-warning" * reverted code reformatting --- src/AsyncTCP.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AsyncTCP.h b/src/AsyncTCP.h index 2e0f2ae..d83d87b 100644 --- a/src/AsyncTCP.h +++ b/src/AsyncTCP.h @@ -160,9 +160,6 @@ class AsyncClient : public AsyncSocketBase AcConnectHandler _poll_cb; void* _poll_cb_arg; - // Simulation of connection state - uint8_t _conn_state; - uint32_t _rx_last_packet; uint32_t _rx_since_timeout; uint32_t _ack_timeout; @@ -195,6 +192,9 @@ class AsyncClient : public AsyncSocketBase // Remaining space willing to queue for writing uint32_t _writeSpaceRemaining; + // Simulation of connection state + uint8_t _conn_state; + void _error(int8_t err); void _close(void); void _removeAllCallbacks(void);