Merge pull request #10 from Justin-sky/main

Delete useless code.
This commit is contained in:
Xiaoxia
2024-11-07 01:53:25 +08:00
committed by GitHub
2 changed files with 0 additions and 5 deletions

View File

@@ -27,10 +27,6 @@ Application::Application() {
}
Application::~Application() {
if (update_display_timer_ != nullptr) {
esp_timer_stop(update_display_timer_);
esp_timer_delete(update_display_timer_);
}
if (ws_client_ != nullptr) {
delete ws_client_;
}

View File

@@ -96,7 +96,6 @@ private:
volatile ChatState chat_state_ = kChatStateUnknown;
volatile bool break_speaking_ = false;
bool skip_to_end_ = false;
esp_timer_handle_t update_display_timer_ = nullptr;
// Audio encode / decode
TaskHandle_t audio_encode_task_ = nullptr;