mirror of
https://github.com/esphome/esphome.git
synced 2025-02-01 02:31:00 +00:00
Use unique_ptr
This commit is contained in:
parent
14bc9b64bd
commit
219d704ce4
@ -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_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user