forked from xiaozhi/xiaozhi-esp32
Bump to 1.4.8
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
# CMakeLists in this exact order for cmake to work correctly
|
# CMakeLists in this exact order for cmake to work correctly
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
set(PROJECT_VER "1.4.7")
|
set(PROJECT_VER "1.4.8")
|
||||||
|
|
||||||
# Add this line to disable the specific warning
|
# Add this line to disable the specific warning
|
||||||
add_compile_options(-Wno-missing-field-initializers)
|
add_compile_options(-Wno-missing-field-initializers)
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ void Application::Start() {
|
|||||||
Application* app = (Application*)arg;
|
Application* app = (Application*)arg;
|
||||||
app->MainLoop();
|
app->MainLoop();
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
}, "main_loop", 4096 * 2, this, 3, nullptr);
|
}, "main_loop", 4096 * 2, this, 4, nullptr);
|
||||||
|
|
||||||
/* Wait for the network to be ready */
|
/* Wait for the network to be ready */
|
||||||
board.StartNetwork();
|
board.StartNetwork();
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ void AudioProcessor::Initialize(int channels, bool reference) {
|
|||||||
auto this_ = (AudioProcessor*)arg;
|
auto this_ = (AudioProcessor*)arg;
|
||||||
this_->AudioProcessorTask();
|
this_->AudioProcessorTask();
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
}, "audio_communication", 4096 * 2, this, 2, NULL);
|
}, "audio_communication", 4096 * 2, this, 3, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioProcessor::~AudioProcessor() {
|
AudioProcessor::~AudioProcessor() {
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ void WakeWordDetect::Initialize(int channels, bool reference) {
|
|||||||
auto this_ = (WakeWordDetect*)arg;
|
auto this_ = (WakeWordDetect*)arg;
|
||||||
this_->AudioDetectionTask();
|
this_->AudioDetectionTask();
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
}, "audio_detection", 4096 * 2, this, 2, nullptr);
|
}, "audio_detection", 4096 * 2, this, 3, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WakeWordDetect::OnWakeWordDetected(std::function<void(const std::string& wake_word)> callback) {
|
void WakeWordDetect::OnWakeWordDetected(std::function<void(const std::string& wake_word)> callback) {
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ private:
|
|||||||
i2c_master_bus_handle_t i2c_bus_;
|
i2c_master_bus_handle_t i2c_bus_;
|
||||||
esp_io_expander_handle_t io_expander = NULL;
|
esp_io_expander_handle_t io_expander = NULL;
|
||||||
LcdDisplay* display_;
|
LcdDisplay* display_;
|
||||||
button_handle_t boot_btn,pwr_btn;
|
button_handle_t boot_btn, pwr_btn;
|
||||||
|
|
||||||
void InitializeI2c() {
|
void InitializeI2c() {
|
||||||
// Initialize I2C peripheral
|
// Initialize I2C peripheral
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ private:
|
|||||||
i2c_master_bus_handle_t i2c_bus_;
|
i2c_master_bus_handle_t i2c_bus_;
|
||||||
esp_io_expander_handle_t io_expander = NULL;
|
esp_io_expander_handle_t io_expander = NULL;
|
||||||
LcdDisplay* display_;
|
LcdDisplay* display_;
|
||||||
button_handle_t boot_btn,pwr_btn;
|
button_handle_t boot_btn, pwr_btn;
|
||||||
|
|
||||||
void InitializeI2c() {
|
void InitializeI2c() {
|
||||||
// Initialize I2C peripheral
|
// Initialize I2C peripheral
|
||||||
|
|||||||
Reference in New Issue
Block a user