Fix some cosmetic stuff in the framebuffer character driver and in the LCD framebuffer driver front-end.

This commit is contained in:
Gregory Nutt
2017-09-17 13:48:10 -06:00
parent 0b8730fb8b
commit cfd44639b2
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -513,7 +513,7 @@ int up_fbinitialize(int display)
ret = lcd->getvideoinfo(lcd, &vinfo);
if (ret < 0)
{
gerr("ERROR: getvideoinfo() failed: %d\n", ret);
lcderr("ERROR: LCD getvideoinfo() failed: %d\n", ret);
goto errout_with_lcd;
}
@@ -524,7 +524,7 @@ int up_fbinitialize(int display)
ret = lcd->getplaneinfo(lcd, VIDEO_PLANE, &priv->pinfo);
if (ret < 0)
{
gerr("ERROR: getplaneinfo() failed: %d\n", ret);
lcderr("ERROR: LCD getplaneinfo() failed: %d\n", ret);
goto errout_with_lcd;
}
@@ -536,7 +536,7 @@ int up_fbinitialize(int display)
priv->fbmem = (FAR uint8_t *)kmm_zalloc(priv->fblen);
if (priv->fbmem == NULL)
{
gerr("ERROR: getplaneinfo() failed: %d\n", ret);
lcderr("ERROR: Failed to allocate frame buffer memory\n");
ret = -ENOMEM;
goto errout_with_lcd;
}