Fix conditional compile syntax
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1425 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
e5a8ac4758
commit
42dcdcfdc3
|
@ -67,7 +67,7 @@
|
|||
#ifndef CONFIG_EXAMPLES_NX_BGCOLOR
|
||||
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
||||
# define CONFIG_EXAMPLES_NX_BGCOLOR 0x007b68ee
|
||||
# elif CONFIG_EXAMPLES_NX_BPP = 16
|
||||
# elif CONFIG_EXAMPLES_NX_BPP == 16
|
||||
# define CONFIG_EXAMPLES_NX_BGCOLOR 0x3088
|
||||
# else
|
||||
# define CONFIG_EXAMPLES_NX_BGCOLOR ' '
|
||||
|
@ -77,7 +77,7 @@
|
|||
#ifndef CONFIG_EXAMPLES_NX_COLOR1
|
||||
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
||||
# define CONFIG_EXAMPLES_NX_COLOR1 0x00e6e6fa
|
||||
# elif CONFIG_EXAMPLES_NX_BPP = 16
|
||||
# elif CONFIG_EXAMPLES_NX_BPP == 16
|
||||
# define CONFIG_EXAMPLES_NX_COLOR1 0x30c8
|
||||
# else
|
||||
# define CONFIG_EXAMPLES_NX_COLOR1 '1'
|
||||
|
@ -87,7 +87,7 @@
|
|||
#ifndef CONFIG_EXAMPLES_NX_COLOR2
|
||||
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
||||
# define CONFIG_EXAMPLES_NX_COLOR2 0x00dcdcdc
|
||||
# elif CONFIG_EXAMPLES_NX_BPP = 16
|
||||
# elif CONFIG_EXAMPLES_NX_BPP == 16
|
||||
# define CONFIG_EXAMPLES_NX_COLOR2 0x30cc
|
||||
# else
|
||||
# define CONFIG_EXAMPLES_NX_COLOR2 '2'
|
||||
|
@ -97,7 +97,7 @@
|
|||
#ifndef CONFIG_EXAMPLES_NX_TBCOLOR
|
||||
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
||||
# define CONFIG_EXAMPLES_NX_TBCOLOR 0x00a9a9a9
|
||||
# elif CONFIG_EXAMPLES_NX_BPP = 16
|
||||
# elif CONFIG_EXAMPLES_NX_BPP == 16
|
||||
# define CONFIG_EXAMPLES_NX_TBCOLOR 0xad55
|
||||
# else
|
||||
# define CONFIG_EXAMPLES_NX_TBCOLOR 'T'
|
||||
|
@ -107,7 +107,7 @@
|
|||
#ifndef CONFIG_EXAMPLES_NX_FONTCOLOR
|
||||
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
||||
# define CONFIG_EXAMPLES_NX_FONTCOLOR 0x00000000
|
||||
# elif CONFIG_EXAMPLES_NX_BPP = 16
|
||||
# elif CONFIG_EXAMPLES_NX_BPP == 16
|
||||
# define CONFIG_EXAMPLES_NX_FONTCOLOR 0x0000
|
||||
# else
|
||||
# define CONFIG_EXAMPLES_NX_FONTCOLOR 'F'
|
||||
|
|
Loading…
Reference in New Issue