using esphome::esp_log_printf_

This commit is contained in:
Chelios 2024-10-04 09:42:36 +03:00
parent e9c592d1ec
commit c3b70e278a
2 changed files with 8 additions and 7 deletions

View file

@ -1,12 +1,12 @@
#include "esp_modem_c_api_types.h"
#include "esp_netif_ppp.h"
#include "cxx_include/esp_modem_api.hpp"
#include "modem_component.h" #include "modem_component.h"
#include "esphome/core/log.h" #include "esphome/core/log.h"
#include "esphome/core/util.h" #include "esphome/core/util.h"
#include "esphome/core/application.h" #include "esphome/core/application.h"
#include "esp_modem_c_api_types.h"
#include "esp_netif_ppp.h"
#ifdef USE_ESP32 #ifdef USE_ESP32
#include <cinttypes> #include <cinttypes>

View file

@ -1,16 +1,17 @@
#pragma once #pragma once
#include "cxx_include/esp_modem_dte.hpp"
#include "cxx_include/esp_modem_dce.hpp"
#include "esphome/core/component.h" #include "esphome/core/component.h"
#include "esphome/core/log.h"
#include "esphome/core/defines.h" #include "esphome/core/defines.h"
#include "esphome/core/hal.h" #include "esphome/core/hal.h"
#include "esphome/components/network/ip_address.h" #include "esphome/components/network/ip_address.h"
#ifdef USE_ESP32 #ifdef USE_ESP32
using esphome::esp_log_printf_;
#include "esp_netif.h" #include "esp_netif.h"
#include "cxx_include/esp_modem_api.hpp"
namespace esphome { namespace esphome {
namespace modem { namespace modem {