forked from xiaozhi/xiaozhi-esp32
fix atommatrix
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
**配置编译目标为 ESP32:**
|
**配置编译目标为 ESP32:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
idf.py set-target esp32s3
|
idf.py set-target esp32
|
||||||
```
|
```
|
||||||
|
|
||||||
**打开 menuconfig:**
|
**打开 menuconfig:**
|
||||||
|
|||||||
@@ -98,8 +98,7 @@ private:
|
|||||||
ResetWifiConfiguration();
|
ResetWifiConfiguration();
|
||||||
}
|
}
|
||||||
app.ToggleChatState();
|
app.ToggleChatState();
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 物联网初始化,添加对 AI 可见设备
|
// 物联网初始化,添加对 AI 可见设备
|
||||||
@@ -118,7 +117,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
virtual Led* GetLed() override {
|
virtual Led* GetLed() override {
|
||||||
|
|
||||||
static CircularStrip led(BUILTIN_LED_GPIO, 25);
|
static CircularStrip led(BUILTIN_LED_GPIO, 25);
|
||||||
return &led;
|
return &led;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
#include <driver/gpio.h>
|
#include <driver/gpio.h>
|
||||||
|
|
||||||
#define AUDIO_INPUT_REFERENCE true
|
|
||||||
#define AUDIO_INPUT_SAMPLE_RATE 24000
|
#define AUDIO_INPUT_SAMPLE_RATE 24000
|
||||||
#define AUDIO_OUTPUT_SAMPLE_RATE 24000
|
#define AUDIO_OUTPUT_SAMPLE_RATE 24000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user