summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxconsole/nxcon_register.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxconsole/nxcon_register.c')
-rw-r--r--nuttx/graphics/nxconsole/nxcon_register.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/graphics/nxconsole/nxcon_register.c b/nuttx/graphics/nxconsole/nxcon_register.c
index 9ed42c74d..cc878b239 100644
--- a/nuttx/graphics/nxconsole/nxcon_register.c
+++ b/nuttx/graphics/nxconsole/nxcon_register.c
@@ -122,9 +122,9 @@ FAR struct nxcon_state_s *
/* Set up the text caches */
- priv->maxchars = CONFIG_NXCONSOLE_BMCACHE;
+ priv->maxchars = CONFIG_NXCONSOLE_MXCHARS;
#ifdef CONFIG_NXCONSOLE_FONTCACHE
- priv->maxglyphs = CONFIG_NXCONSOLE_GLCACHE;
+ priv->maxglyphs = CONFIG_NXCONSOLE_CACHESIZE;
#endif
/* Set the initial display position */