n5110_crash_fix_127
This commit is contained in:
@@ -104,7 +104,7 @@ static inline bool _init_async_event_queue(){
|
||||
}
|
||||
|
||||
static inline bool _send_async_event(lwip_event_packet_t ** e){
|
||||
return _async_queue && xQueueSend(_async_queue, e, portMAX_DELAY) == pdPASS;
|
||||
return _async_queue && xQueueSend(_async_queue, e, SEND_ASYNC_EVENT_DELAY) == pdPASS;
|
||||
}
|
||||
|
||||
static inline bool _prepend_async_event(lwip_event_packet_t ** e){
|
||||
|
||||
@@ -46,7 +46,9 @@ extern "C" {
|
||||
#ifndef XQUEUE_SIZE
|
||||
#define XQUEUE_SIZE 128 // (32)
|
||||
#endif
|
||||
|
||||
#ifndef SEND_ASYNC_EVENT_DELAY
|
||||
#define SEND_ASYNC_EVENT_DELAY portMAX_DELAY
|
||||
#endif
|
||||
class AsyncClient;
|
||||
|
||||
#define ASYNC_MAX_ACK_TIME 5000
|
||||
|
||||
Reference in New Issue
Block a user