diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-06-24 12:37:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-06-24 12:37:02 -0600 |
commit | 860429a8eaaa2437d7d8e5f1cb6b2b684fbda295 (patch) | |
tree | 71600620a4fdfb47ab13390b5dd264f30dbf1efc /apps/examples/nxhello/nxhello.h | |
parent | 4919eb3fd671887db91cb5e7f099fddd5a2c487c (diff) | |
download | nuttx-860429a8eaaa2437d7d8e5f1cb6b2b684fbda295.tar.gz nuttx-860429a8eaaa2437d7d8e5f1cb6b2b684fbda295.tar.bz2 nuttx-860429a8eaaa2437d7d8e5f1cb6b2b684fbda295.zip |
Fix UG-2832HSWEG04 landscape. Add reverse landscape support to UG_2864AMBAG01 and UG-9964HSWAG01. Fixe NXHELLO default colors for 1-bit mono modes
Diffstat (limited to 'apps/examples/nxhello/nxhello.h')
-rw-r--r-- | apps/examples/nxhello/nxhello.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/nxhello/nxhello.h b/apps/examples/nxhello/nxhello.h index f395b7018..39e63ee0d 100644 --- a/apps/examples/nxhello/nxhello.h +++ b/apps/examples/nxhello/nxhello.h @@ -73,6 +73,8 @@ # define CONFIG_EXAMPLES_NXHELLO_BGCOLOR 0x007b68ee # elif CONFIG_EXAMPLES_NXHELLO_BPP == 16 # define CONFIG_EXAMPLES_NXHELLO_BGCOLOR 0x7b5d +# elif CONFIG_EXAMPLES_NXHELLO_BPP < 8 +# define CONFIG_EXAMPLES_NXHELLO_BGCOLOR 0x00 # else # define CONFIG_EXAMPLES_NXHELLO_BGCOLOR ' ' # endif @@ -87,6 +89,8 @@ # define CONFIG_EXAMPLES_NXHELLO_FONTCOLOR 0x00000000 # elif CONFIG_EXAMPLES_NXHELLO_BPP == 16 # define CONFIG_EXAMPLES_NXHELLO_FONTCOLOR 0x0000 +# elif CONFIG_EXAMPLES_NXHELLO_BPP < 1 +# define CONFIG_EXAMPLES_NXHELLO_FONTCOLOR 0x01 # else # define CONFIG_EXAMPLES_NXHELLO_FONTCOLOR 'F' # endif |