apps/examples/ft80x: Text is handled by the coprocessor and, hence, must use RAM_CMD, not RAM_DL.
This commit is contained in:
parent
b0a0a39f7a
commit
018bb4dd73
@ -187,7 +187,7 @@ static int ft80x_showname(int fd, FAR struct ft80x_dlbuffer_s *buffer,
|
|||||||
|
|
||||||
/* Create the display list */
|
/* Create the display list */
|
||||||
|
|
||||||
ret = ft80x_dl_start(fd, buffer, false);
|
ret = ft80x_dl_start(fd, buffer, true);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
ft80x_err("ERROR: ft80x_dl_start failed: %d\n", ret);
|
ft80x_err("ERROR: ft80x_dl_start failed: %d\n", ret);
|
||||||
@ -235,7 +235,7 @@ static int ft80x_showname(int fd, FAR struct ft80x_dlbuffer_s *buffer,
|
|||||||
|
|
||||||
/* Fade on then wait bit so that the user can read the example name */
|
/* Fade on then wait bit so that the user can read the example name */
|
||||||
|
|
||||||
(void)ft80x_backlight_fade(fd, 100, 1000);
|
(void)ft80x_backlight_fade(fd, 100, 2000);
|
||||||
(void)sleep(1);
|
(void)sleep(1);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
@ -275,8 +275,8 @@ static int ft80x_example(int fd, FAR struct ft80x_dlbuffer_s *buffer,
|
|||||||
|
|
||||||
/* Wait a bit, then fade out */
|
/* Wait a bit, then fade out */
|
||||||
|
|
||||||
sleep(3);
|
sleep(2);
|
||||||
(void)ft80x_backlight_fade(fd, 0, 1000);
|
(void)ft80x_backlight_fade(fd, 0, 2000);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user