mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ESP-IDF: Removed explicit esp_task_wdt_reset
call
- Also removed some esp_wdt specific unnecessary header includes
This commit is contained in:
parent
e0c312c202
commit
e0ecf9c66c
4 changed files with 1 additions and 11 deletions
|
@ -27,16 +27,9 @@
|
|||
int
|
||||
lws_plat_service(struct lws_context *context, int timeout_ms)
|
||||
{
|
||||
int n = _lws_plat_service_tsi(context, timeout_ms, 0);
|
||||
|
||||
#if !defined(LWS_AMAZON_RTOS) && defined(LWS_ESP_PLATFORM) && defined(CONFIG_ESP_INT_WDT)
|
||||
esp_task_wdt_reset();
|
||||
#endif
|
||||
|
||||
return n;
|
||||
return _lws_plat_service_tsi(context, timeout_ms, 0);
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
_lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)
|
||||
{
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
#endif
|
||||
#endif
|
||||
#include <esp_system.h>
|
||||
#include <esp_task_wdt.h>
|
||||
#endif
|
||||
|
||||
#if defined(LWS_WITH_ESP32)
|
||||
|
|
|
@ -64,7 +64,6 @@ gai_strerror(int);
|
|||
#include "freertos/timers.h"
|
||||
#include <esp_attr.h>
|
||||
#include <esp_system.h>
|
||||
#include <esp_task_wdt.h>
|
||||
#endif
|
||||
|
||||
#if defined(LWS_WITH_ESP32)
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#include "sdkconfig.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include <esp_task_wdt.h>
|
||||
#include <driver/gpio.h>
|
||||
|
||||
#include <libwebsockets.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue