Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 456e8a1

Browse files
fix ESP32Camera buffer release
1 parent 1b981d4 commit 456e8a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎src/eloquentarduino/vision/camera/ESP32Camera.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ namespace Eloquent {
8484
return (_frame = esp_camera_fb_get());
8585
}
8686

87+
/**
88+
* Release frame memory
89+
*/
90+
void release() {
91+
esp_camera_fb_return(_frame);
92+
}
93+
8794
/**
8895
* Enable manual exposure control
8996
*

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /