mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Merge branch 'zero_copy' into integration
This commit is contained in:
		| @@ -230,6 +230,9 @@ void APIConnection::loop() { | ||||
|     msg.key = camera::Camera::instance()->get_object_id_hash(); | ||||
|     msg.set_data(this->image_reader_->peek_data_buffer(), to_send); | ||||
|     msg.done = done; | ||||
| #ifdef USE_DEVICES | ||||
|     msg.device_id = camera::Camera::instance()->get_device_id(); | ||||
| #endif | ||||
|  | ||||
|     if (this->send_message_(msg, CameraImageResponse::MESSAGE_TYPE)) { | ||||
|       this->image_reader_->consume_data(to_send); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user