Fix i2c header files

This commit is contained in:
Terrence
2025-04-10 01:57:18 +08:00
parent 81aa8a43ce
commit 18e44ec775
15 changed files with 15 additions and 14 deletions

View File

@ -1,7 +1,7 @@
#include "box_audio_codec.h"
#include <esp_log.h>
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/i2s_tdm.h>
static const char TAG[] = "BoxAudioCodec";

View File

@ -3,7 +3,7 @@
#include "audio_codec.h"
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/gpio.h>
#include <esp_codec_dev.h>
#include <esp_codec_dev_defaults.h>

View File

@ -3,7 +3,7 @@
#include "audio_codec.h"
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <esp_codec_dev.h>
#include <esp_codec_dev_defaults.h>

View File

@ -1,7 +1,7 @@
#include "k10_audio_codec.h"
#include <esp_log.h>
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/i2s_tdm.h>
#include <cmath>

View File

@ -1,7 +1,7 @@
#include "box_audio_codec_lite.h"
#include <esp_log.h>
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/i2s_tdm.h>
static const char TAG[] = "BoxAudioCodecLite";

View File

@ -9,7 +9,7 @@
#include <esp_log.h>
#include "i2c_device.h"
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/ledc.h>
#include <wifi_station.h>
#include <esp_lcd_panel_io.h>

View File

@ -9,7 +9,7 @@
#include <esp_log.h>
#include "i2c_device.h"
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/ledc.h>
#include <wifi_station.h>
#include <esp_lcd_panel_io.h>

View File

@ -9,7 +9,7 @@
#include <esp_log.h>
#include "i2c_device.h"
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/ledc.h>
#include <wifi_station.h>
#include <esp_lcd_panel_io.h>

View File

@ -10,7 +10,7 @@
#include <esp_log.h>
#include "i2c_device.h"
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/ledc.h>
#include <wifi_station.h>
#include <esp_lcd_panel_vendor.h>

View File

@ -1,7 +1,7 @@
#include "tcamerapluss3_audio_codec.h"
#include <esp_log.h>
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/i2c_master.h>
#include <driver/i2s_tdm.h>

View File

@ -1,7 +1,7 @@
#include "tcircles3_audio_codec.h"
#include <esp_log.h>
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/i2c_master.h>
#include <driver/i2s_tdm.h>

View File

@ -1,7 +1,7 @@
#include "cores3_audio_codec.h"
#include <esp_log.h>
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/i2c_master.h>
#include <driver/i2s_tdm.h>

View File

@ -1,7 +1,7 @@
#include "sensecap_audio_codec.h"
#include <esp_log.h>
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/i2s_tdm.h>
static const char TAG[] = "SensecapAudioCodec";

View File

@ -7,7 +7,7 @@
#include "iot/thing_manager.h"
#include <esp_log.h>
#include <driver/i2c.h>
#include <driver/i2c_master.h>
#include <driver/ledc.h>
#include <wifi_station.h>
#include <esp_lcd_panel_io.h>

View File

@ -174,6 +174,7 @@ RgbLcdDisplay::RgbLcdDisplay(esp_lcd_panel_io_handle_t panel_io, esp_lcd_panel_h
ESP_LOGI(TAG, "Initialize LVGL port");
lvgl_port_cfg_t port_cfg = ESP_LVGL_PORT_INIT_CONFIG();
port_cfg.task_priority = 1;
port_cfg.timer_period_ms = 50;
lvgl_port_init(&port_cfg);
ESP_LOGI(TAG, "Adding LCD screen");