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 70c0aed

Browse filesBrowse files
authored
Merge pull request #1050 from leonardocavagnis/fix_buffer_lvgl_h7_video
Arduino H7 Video + LVGL 9.x: Remove unused buffer
2 parents f7ff411 + 84ba561 commit 70c0aed
Copy full SHA for 70c0aed

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.