1 parent a63d4a6 commit fff2dd2Copy full SHA for fff2dd2
1 file changed
extmod/modlwip.c
@@ -183,11 +183,11 @@ static const int error_lookup_table[] = {
183
typedef struct _lwip_socket_obj_t {
184
mp_obj_base_t base;
185
186
- union {
+ volatile union {
187
struct tcp_pcb *tcp;
188
struct udp_pcb *udp;
189
} pcb;
190
191
struct pbuf *pbuf;
192
struct tcp_pcb *connection;
193
} incoming;
0 commit comments