Skip to content

Commit

Permalink
Merge pull request #1013 from arduino/h7video-fix-portentah7
Browse files Browse the repository at this point in the history
Fix Arduino_H7_Video library on Portenta H7
  • Loading branch information
leonardocavagnis authored Jan 17, 2025
2 parents f7fee48 + 4f42fdf commit f9744ff
Showing 1 changed file with 6 additions and 7 deletions.
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 ****/

0 comments on commit f9744ff

Please sign in to comment.