Use unique_ptr

This commit is contained in:
Jesse Hills 2024-01-17 11:02:44 +09:00
parent 14bc9b64bd
commit 219d704ce4
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class ESPADFMicrophone : public ESPADFPipeline, public microphone::Microphone, p
static void read_task(void *params);
RingBuffer *ring_buffer_;
std::unique_ptr<RingBuffer> ring_buffer_;
TaskHandle_t read_task_handle_{nullptr};
QueueHandle_t read_event_queue_;