mirror of
https://github.com/esphome/esphome.git
synced 2024-12-06 05:24:56 +01:00
Use unique_ptr
This commit is contained in:
parent
14bc9b64bd
commit
219d704ce4
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class ESPADFMicrophone : public ESPADFPipeline, public microphone::Microphone, p
|
||||||
|
|
||||||
static void read_task(void *params);
|
static void read_task(void *params);
|
||||||
|
|
||||||
RingBuffer *ring_buffer_;
|
std::unique_ptr<RingBuffer> ring_buffer_;
|
||||||
|
|
||||||
TaskHandle_t read_task_handle_{nullptr};
|
TaskHandle_t read_task_handle_{nullptr};
|
||||||
QueueHandle_t read_event_queue_;
|
QueueHandle_t read_event_queue_;
|
||||||
|
|
Loading…
Reference in a new issue