diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-04 23:03:33 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-04 23:03:33 +0000 |
commit | 6ebc1f9f8b9ebc7f53ef00599e10be30bbb7bdc9 (patch) | |
tree | 9938edc737b494616cd8d16946950fd205c183f2 /nuttx/examples/nx/nx_main.c | |
parent | ffeebe323d5310bc88b7db0da55a8a97d1d36968 (diff) | |
download | px4-nuttx-6ebc1f9f8b9ebc7f53ef00599e10be30bbb7bdc9.tar.gz px4-nuttx-6ebc1f9f8b9ebc7f53ef00599e10be30bbb7bdc9.tar.bz2 px4-nuttx-6ebc1f9f8b9ebc7f53ef00599e10be30bbb7bdc9.zip |
Integrating font capabilities; debug bitmap logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1415 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nx/nx_main.c')
-rw-r--r-- | nuttx/examples/nx/nx_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/examples/nx/nx_main.c b/nuttx/examples/nx/nx_main.c index ca6c43e85..cccc133a7 100644 --- a/nuttx/examples/nx/nx_main.c +++ b/nuttx/examples/nx/nx_main.c @@ -143,7 +143,7 @@ static void nxeg_drivemouse(void) static void nxeg_initstate(FAR struct nxeg_state_s *st, int wnum, nxgl_mxpixel_t color) { -#if !defined(CONFIG_EXAMPLES_NX_RAWWINDOWS) && defined(CONFIG_NX_KBD) +#ifdef CONFIG_NX_KBD FAR const struct nx_font_s *fontset; #endif @@ -158,7 +158,7 @@ static void nxeg_initstate(FAR struct nxeg_state_s *st, int wnum, * state structure */ -#if !defined(CONFIG_EXAMPLES_NX_RAWWINDOWS) && defined(CONFIG_NX_KBD) +#ifdef CONFIG_NX_KBD fontset = nxf_getfontset(); st->nchars = 0; st->nglyphs = 0; |