mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
using esphome::esp_log_printf_
This commit is contained in:
parent
e9c592d1ec
commit
c3b70e278a
2 changed files with 8 additions and 7 deletions
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue