Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix Arduino_H7_Video library on Portenta H7
  • Loading branch information
leonardocavagnis authored Jan 7, 2025
commit 4f42fdf8cee6f08ac1d1661d16174d3385b29bf9
13 changes: 6 additions & 7 deletions libraries/Arduino_H7_Video/src/Arduino_H7_Video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,14 @@ int Arduino_H7_Video::begin() {
}
disp_drv.sw_rotate = 1;
lv_disp_drv_register(&disp_drv); /* Finally register the driver */

#if !defined(ARDUINO_GIGA)
/* Configure SDRAM */
SDRAM.begin(dsi_getFramebufferEnd()); //FIXME: SDRAM init after video controller init can cause display glitch at start-up
#endif

#endif
#endif

#if !defined(ARDUINO_GIGA)
/* Configure SDRAM */
SDRAM.begin(dsi_getFramebufferEnd()); //FIXME: SDRAM init after video controller init can cause display glitch at start-up
#endif

return 0;
}

Expand Down Expand Up @@ -288,4 +287,4 @@ void lvgl_displayFlushing(lv_disp_drv_t * disp, const lv_area_t * area, lv_color
#endif
#endif

/**** END OF FILE ****/
/**** END OF FILE ****/
Loading