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

Appearance settings

Commit 84ba561

Browse filesBrowse files
h7 video + lvgl: remove unused buffer
1 parent f7ff411 commit 84ba561
Copy full SHA for 84ba561

File tree

1 file changed

+0
-4
lines changed
Filter options

1 file changed

+0
-4
lines changed

‎libraries/Arduino_H7_Video/src/Arduino_H7_Video.cpp

Copy file name to clipboardExpand all lines: libraries/Arduino_H7_Video/src/Arduino_H7_Video.cpp
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ int Arduino_H7_Video::begin() {
111111
if (buf1 == NULL) {
112112
return 2; /* Insuff memory err */
113113
}
114-
static lv_color_t * buf2 = (lv_color_t*)malloc((width() * height() / 10)); /* Declare a buffer for 1/10 screen size */
115-
if (buf2 == NULL) {
116-
return 2; /* Insuff memory err */
117-
}
118114

119115
lv_display_t *display;
120116
if(_rotated) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.