fix: fb: set overlay to 0
when CONFIG_FB_OVERLAY=y, need set overlay=0,
otherwise the lcd driver doesn't know which
layer to get.
@@ -346,6 +346,9 @@ int main(int argc, FAR char *argv[])
return EXIT_FAILURE;
}
+ /* Get the first overlay information */
+
+ state.oinfo.overlay = 0;
ret = ioctl(state.fd, FBIOGET_OVERLAYINFO,
(unsigned long)((uintptr_t)&state.oinfo));
if (ret < 0)
