This commit is contained in:
Lee Lup Yuen 2022-12-17 21:41:49 +08:00
parent 7654b9639d
commit a86295c56b

View file

@ -133,7 +133,8 @@ int render_graphics(void)
DEBUGASSERT(ret == OK);
// Init the 2 Overlay UI Channels
for (int i = 0; i < sizeof(overlayInfo) / sizeof(overlayInfo[0]); i++)
int i;
for (i = 0; i < sizeof(overlayInfo) / sizeof(overlayInfo[0]); i++)
{
const struct fb_overlayinfo_s *ov = &overlayInfo[i];
ret = a64_de_ui_channel_init(