mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 09:01:49 +00:00 
			
		
		
		
	Use unique_ptr
This commit is contained in:
		@@ -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_;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user