forked from xiaozhi/xiaozhi-esp32
Update kevin_box_board.cc
format code
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
#include <wifi_station.h>
|
#include <wifi_station.h>
|
||||||
#include <esp_log.h>
|
#include <esp_log.h>
|
||||||
|
#include <esp_efuse_table.h>
|
||||||
#include <driver/i2c_master.h>
|
#include <driver/i2c_master.h>
|
||||||
#include "esp_efuse_table.h"
|
|
||||||
|
|
||||||
#define TAG "KevinBoxBoard"
|
#define TAG "KevinBoxBoard"
|
||||||
|
|
||||||
@@ -58,8 +58,9 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
KevinBoxBoard() : boot_button_(BOOT_BUTTON_GPIO) {
|
KevinBoxBoard() : boot_button_(BOOT_BUTTON_GPIO) {
|
||||||
//把ESP32C3的VDD SPI引脚作为普通GPIO口使用 需要写efuse 每个芯片需要写一次
|
// 把 ESP32C3 的 VDD SPI 引脚作为普通 GPIO 口使用
|
||||||
esp_efuse_write_field_bit(ESP_EFUSE_VDD_SPI_AS_GPIO);
|
esp_efuse_write_field_bit(ESP_EFUSE_VDD_SPI_AS_GPIO);
|
||||||
|
|
||||||
InitializeCodecI2c();
|
InitializeCodecI2c();
|
||||||
InitializeButtons();
|
InitializeButtons();
|
||||||
InitializeIot();
|
InitializeIot();
|
||||||
|
|||||||
Reference in New Issue
Block a user