fix taking multiple pictures

This commit is contained in:
Jeff Epler 2022-08-04 15:11:53 -05:00
parent b903a020fd
commit 1d1e139379
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 1 additions and 1 deletions

View File

@ -140,5 +140,5 @@ camera_fb_t *common_hal_esp32_camera_camera_take(esp32_camera_camera_obj_t *self
esp_camera_fb_return(self->buffer_to_return);
self->buffer_to_return = NULL;
}
return esp_camera_fb_get_timeout(timeout_ms);
return self->buffer_to_return = esp_camera_fb_get_timeout(timeout_ms);
}