1
0
Fork 0
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:
Vikram Dattu 2025-02-05 14:35:37 +05:30
parent e0c312c202
commit e0ecf9c66c
No known key found for this signature in database
GPG key ID: 1F3741130DB565A3
4 changed files with 1 additions and 11 deletions

View file

@ -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)
{

View file

@ -69,7 +69,6 @@
#endif
#endif
#include <esp_system.h>
#include <esp_task_wdt.h>
#endif
#if defined(LWS_WITH_ESP32)

View file

@ -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)

View file

@ -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>