mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 12:49:03 +00:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue