From 69391e186b16a69b4e74716b3178cc4d9b012b07 Mon Sep 17 00:00:00 2001 From: Jm Date: Sat, 9 Jan 2021 13:47:10 -0800 Subject: [PATCH] Fix for breaking the linux build --- src/mesh/wifi/WebServer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesh/wifi/WebServer.cpp b/src/mesh/wifi/WebServer.cpp index ef11e5d39..8eb888087 100644 --- a/src/mesh/wifi/WebServer.cpp +++ b/src/mesh/wifi/WebServer.cpp @@ -2,7 +2,6 @@ #include "NodeDB.h" #include "PowerFSM.h" #include "airtime.h" -#include "esp_task_wdt.h" #include "main.h" #include "mesh/wifi/ContentHelper.h" #include "mesh/wifi/ContentStatic.h" @@ -15,6 +14,9 @@ #include #include +#ifndef NO_ESP32 +#include "esp_task_wdt.h" +#endif // Persistant Data Storage #include @@ -1225,4 +1227,3 @@ void handleFavicon(HTTPRequest *req, HTTPResponse *res) // Write data from header file res->write(FAVICON_DATA, FAVICON_LENGTH); } -