NxConsole: Fix typo that caused compile error when CONFIG_NXCONSOLE_BPP is less than 8. From Librae

This commit is contained in:
Gregory Nutt 2013-12-15 07:25:49 -06:00
parent 7cb765e52d
commit 66f330331b
2 changed files with 3 additions and 1 deletions

View File

@ -6226,4 +6226,6 @@
* fs/procfs/procfs_utils.c: Move some re-usable functions out of
fs_procfsproc.c into a utility file (2013-12-14).
* fs/procfs/fs_procfsuptime.c: Supports /proc/uptime (2013-12-14).
* graphics/nxconsole/nxcon_font.c: Fix a typo that causes a compile
error when CONFIG_NXCONSOLE_BPP < 8. From Librae (2013-12-15).

View File

@ -257,7 +257,7 @@ nxcon_renderglyph(FAR struct nxcon_state_s *priv,
*/
#if CONFIG_NXCONSOLE_BPP < 8
pixel = priv->wcolor[0];
pixel = priv->wndo.wcolor[0];
# if CONFIG_NXCONSOLE_BPP == 1