File tree 1 file changed +10
-3
lines changed
libraries/Arduino_H7_Video/src
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,11 @@ int Arduino_H7_Video::begin() {
89
89
textFont (Font_5x7);
90
90
#endif
91
91
92
+ #if defined(ARDUINO_GIGA)
93
+ /* Configure SDRAM */
94
+ SDRAM.begin (dsi_getFramebufferEnd ());
95
+ #endif
96
+
92
97
/* Video controller/bridge init */
93
98
_shield->init (_edidMode);
94
99
@@ -149,12 +154,14 @@ int Arduino_H7_Video::begin() {
149
154
disp_drv.sw_rotate = 1 ;
150
155
lv_disp_drv_register (&disp_drv); /* Finally register the driver */
151
156
157
+ #if !defined(ARDUINO_GIGA)
158
+ /* Configure SDRAM */
159
+ SDRAM.begin (dsi_getFramebufferEnd ()); // FIXME: SDRAM init after video controller init can cause display glitch at start-up
160
+ #endif
161
+
152
162
#endif
153
163
#endif
154
164
155
- /* Configure SDRAM */
156
- SDRAM.begin (dsi_getFramebufferEnd ()); // FIXME: SDRAM init after video controller init can cause display glitch at start-up
157
-
158
165
return 0 ;
159
166
}
160
167
You can’t perform that action at this time.
0 commit comments