diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-22 20:12:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-22 20:12:50 +0000 |
commit | e3ba485a852fc10a85533d0c5a28c6e01d66a0d4 (patch) | |
tree | a33615148a3516b8d3b14be981e78fc49fa215c5 /apps/examples/nxhello/nxhello_bkgd.c | |
parent | 2d333142924f4e7396de449189e2fa383f29248f (diff) | |
download | nuttx-e3ba485a852fc10a85533d0c5a28c6e01d66a0d4.tar.gz nuttx-e3ba485a852fc10a85533d0c5a28c6e01d66a0d4.tar.bz2 nuttx-e3ba485a852fc10a85533d0c5a28c6e01d66a0d4.zip |
apps/examples/usbstorage can now be built as NSH built-in commands; configs/stm3210e-eval/nsh2 now uses these usb storage commands
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3812 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/nxhello/nxhello_bkgd.c')
-rw-r--r-- | apps/examples/nxhello/nxhello_bkgd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/nxhello/nxhello_bkgd.c b/apps/examples/nxhello/nxhello_bkgd.c index 3b609d1f6..09beac952 100644 --- a/apps/examples/nxhello/nxhello_bkgd.c +++ b/apps/examples/nxhello/nxhello_bkgd.c @@ -248,7 +248,7 @@ static void nxhello_center(FAR struct nxgl_point_s *pos, */ pos->x = (g_nxhello.xres - width) / 2; - pos->y = (g_nxhello.yres - fbm->metric.height) / 2; + pos->y = (g_nxhello.yres - fontset->mxheight) / 2; } /**************************************************************************** |