1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-12 14:53:49 +01:00

Bump ESP32 Arduino version to 3.1.3 (#8604)

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
This commit is contained in:
Jonathan Swoboda
2025-06-18 16:16:25 -04:00
committed by GitHub
parent 57388254c4
commit aa180b9581
68 changed files with 171 additions and 738 deletions

View File

@@ -1,7 +1,7 @@
#include "sntp_component.h"
#include "esphome/core/log.h"
#ifdef USE_ESP_IDF
#ifdef USE_ESP32
#include "esp_sntp.h"
#elif USE_ESP8266
#include "sntp.h"
@@ -16,7 +16,7 @@ static const char *const TAG = "sntp";
void SNTPComponent::setup() {
ESP_LOGCONFIG(TAG, "Running setup");
#if defined(USE_ESP_IDF)
#if defined(USE_ESP32)
if (esp_sntp_enabled()) {
esp_sntp_stop();
}
@@ -46,7 +46,7 @@ void SNTPComponent::dump_config() {
}
}
void SNTPComponent::update() {
#if !defined(USE_ESP_IDF)
#if !defined(USE_ESP32)
// force resync
if (sntp_enabled()) {
sntp_stop();