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 cacac8f commit ca8ac5fCopy full SHA for ca8ac5f
src/AsyncTCP.cpp
@@ -152,7 +152,10 @@ static bool _remove_events_with_arg(void * arg){
152
}
153
154
static void _handle_async_event(lwip_event_packet_t * e){
155
- if(e->event == LWIP_TCP_CLEAR){
+ if(e->arg == NULL){
156
+ // do nothing when arg is NULL
157
+ //ets_printf("event arg == NULL: 0x%08x\n", e->recv.pcb);
158
+ } else if(e->event == LWIP_TCP_CLEAR){
159
_remove_events_with_arg(e->arg);
160
} else if(e->event == LWIP_TCP_RECV){
161
//ets_printf("-R: 0x%08x\n", e->recv.pcb);
0 commit comments