From 5b38d26a272623208578b14acb8cb18e96a3509d Mon Sep 17 00:00:00 2001 From: Francois <thiebolt@irit.fr> Date: Tue, 9 Aug 2022 09:33:26 +0200 Subject: [PATCH] uniformized sntp calls for all ESPs :) --- neosensor/neosensor.ino | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/neosensor/neosensor.ino b/neosensor/neosensor.ino index ca535a80..cd4f24d8 100644 --- a/neosensor/neosensor.ino +++ b/neosensor/neosensor.ino @@ -75,12 +75,9 @@ /* As of esp8266 arduino lib >=2.4.0, time is managed via local or sntp along with TZ support :) */ #include <time.h> // time() ctime() +#include <sntp.h> #ifdef ESP8266 #include <coredecls.h> // settimeofday_cb(), tune_timeshift64() - - #include <sntp.h> -#elif defined(ESP32) - #include "lwip/apps/sntp.h" #endif /* -- GitLab