Movatterモバイル変換


[0]ホーム

URL:


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

Commit70c0aed

Browse files
authored
Merge pull request#1050 from leonardocavagnis/fix_buffer_lvgl_h7_video
Arduino H7 Video + LVGL 9.x: Remove unused buffer
2 parentsf7ff411 +84ba561 commit70c0aed

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎libraries/Arduino_H7_Video/src/Arduino_H7_Video.cpp‎

Lines 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
return2;/* Insuff memory err*/
113113
}
114-
staticlv_color_t * buf2 = (lv_color_t*)malloc((width() *height() /10));/* Declare a buffer for 1/10 screen size*/
115-
if (buf2 ==NULL) {
116-
return2;/* Insuff memory err*/
117-
}
118114

119115
lv_display_t *display;
120116
if(_rotated) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp