mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
using esphome::esp_log_printf_
This commit is contained in:
parent
d858ca6e46
commit
3f02b4a930
2 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
#if defined(USE_ESP32) || defined(USE_ESP_IDF)
|
||||
#ifdef USE_ESP_IDF
|
||||
#include "gsm_component.h"
|
||||
#include "esphome/core/log.h"
|
||||
#include "esphome/core/application.h"
|
||||
|
@ -6,7 +6,6 @@
|
|||
#include "esphome/components/network/util.h"
|
||||
#include <esp_netif.h>
|
||||
#include <esp_netif_ppp.h>
|
||||
#include <esp_log.h>
|
||||
#include <esp_event.h>
|
||||
#include <cxx_include/esp_modem_dte.hpp>
|
||||
#include <esp_modem_config.h>
|
||||
|
|
|
@ -2,11 +2,13 @@
|
|||
|
||||
#include <memory>
|
||||
#include "esphome/core/component.h"
|
||||
#include "esphome/core/log.h"
|
||||
#include "esphome/components/network/util.h"
|
||||
|
||||
#if defined(USE_ESP32) || defined(USE_ESP_IDF)
|
||||
#ifdef USE_ESP_IDF
|
||||
|
||||
#include <esp_log.h>
|
||||
using esphome::esp_log_printf_; // esp_modem will use esphome logger (needed if other components include
|
||||
// esphome/core/log.h)
|
||||
#include <cxx_include/esp_modem_api.hpp>
|
||||
#include <esp_modem_config.h>
|
||||
#include <driver/gpio.h>
|
||||
|
|
Loading…
Reference in a new issue