summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-12-08 18:08:12 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-12-09 12:24:43 -0700
commit1c305010f427ac40fbecb80175d4323020a2ea66 (patch)
tree98432cdff43c473aeea3c9f9d1d6c0a03d052940
parent96a751d8a5d20b2acea5ae8d10ac3d051466c2c3 (diff)
w5500_ll: Fix SOCKINTR_CONN
-rw-r--r--libhw/w5500_ll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhw/w5500_ll.h b/libhw/w5500_ll.h
index c70da0d..5c61b6f 100644
--- a/libhw/w5500_ll.h
+++ b/libhw/w5500_ll.h
@@ -222,7 +222,7 @@ static_assert(sizeof(struct w5500ll_block_sock_reg) == 0x30);
#define SOCKINTR_SEND_TIMEOUT ((uint8_t)1<<3) /* ARP or TCP */
#define SOCKINTR_RECV_DAT ((uint8_t)1<<2) /* received data */
#define SOCKINTR_RECV_FIN ((uint8_t)1<<1) /* received FIN */
-#define SOCKINTR_CONN ((uint8_t)1<<1) /* first for SYN, then when SOCKMODE_ESTABLISHED */
+#define SOCKINTR_CONN ((uint8_t)1<<0) /* first for SYN, then when SOCKMODE_ESTABLISHED */
#define STATE_CLOSED ((uint8_t)0x00)