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. Signed-off-by: liushuai25 <liushuai25@xiaomi.com>
This commit is contained in:
parent
421452690b
commit
02ff4a8a59
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user