Bump to 1.3.0

This commit is contained in:
Terrence
2025-02-24 14:41:34 +08:00
parent c08a1a5310
commit a23a88cc5d
14 changed files with 84 additions and 22 deletions

View File

@@ -4,6 +4,7 @@
#include <freertos/FreeRTOS.h>
#include <freertos/event_groups.h>
#include <freertos/task.h>
#include <esp_timer.h>
#include <string>
#include <mutex>
@@ -77,7 +78,8 @@ private:
std::mutex mutex_;
std::list<std::function<void()>> main_tasks_;
std::unique_ptr<Protocol> protocol_;
EventGroupHandle_t event_group_;
EventGroupHandle_t event_group_ = nullptr;
esp_timer_handle_t clock_timer_handle_ = nullptr;
volatile DeviceState device_state_ = kDeviceStateUnknown;
bool keep_listening_ = false;
bool aborted_ = false;
@@ -104,7 +106,7 @@ private:
void SetDecodeSampleRate(int sample_rate);
void CheckNewVersion();
void ShowActivationCode();
void OnClockTimer();
void PlayLocalFile(const char* data, size_t size);
};