Fix conditional compile syntax
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1425 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
d7c8df9376
commit
a6266f9ba4
@ -67,7 +67,7 @@
|
|||||||
#ifndef CONFIG_EXAMPLES_NX_BGCOLOR
|
#ifndef CONFIG_EXAMPLES_NX_BGCOLOR
|
||||||
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
||||||
# define CONFIG_EXAMPLES_NX_BGCOLOR 0x007b68ee
|
# define CONFIG_EXAMPLES_NX_BGCOLOR 0x007b68ee
|
||||||
# elif CONFIG_EXAMPLES_NX_BPP = 16
|
# elif CONFIG_EXAMPLES_NX_BPP == 16
|
||||||
# define CONFIG_EXAMPLES_NX_BGCOLOR 0x3088
|
# define CONFIG_EXAMPLES_NX_BGCOLOR 0x3088
|
||||||
# else
|
# else
|
||||||
# define CONFIG_EXAMPLES_NX_BGCOLOR ' '
|
# define CONFIG_EXAMPLES_NX_BGCOLOR ' '
|
||||||
@ -77,7 +77,7 @@
|
|||||||
#ifndef CONFIG_EXAMPLES_NX_COLOR1
|
#ifndef CONFIG_EXAMPLES_NX_COLOR1
|
||||||
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
||||||
# define CONFIG_EXAMPLES_NX_COLOR1 0x00e6e6fa
|
# define CONFIG_EXAMPLES_NX_COLOR1 0x00e6e6fa
|
||||||
# elif CONFIG_EXAMPLES_NX_BPP = 16
|
# elif CONFIG_EXAMPLES_NX_BPP == 16
|
||||||
# define CONFIG_EXAMPLES_NX_COLOR1 0x30c8
|
# define CONFIG_EXAMPLES_NX_COLOR1 0x30c8
|
||||||
# else
|
# else
|
||||||
# define CONFIG_EXAMPLES_NX_COLOR1 '1'
|
# define CONFIG_EXAMPLES_NX_COLOR1 '1'
|
||||||
@ -87,7 +87,7 @@
|
|||||||
#ifndef CONFIG_EXAMPLES_NX_COLOR2
|
#ifndef CONFIG_EXAMPLES_NX_COLOR2
|
||||||
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
||||||
# define CONFIG_EXAMPLES_NX_COLOR2 0x00dcdcdc
|
# define CONFIG_EXAMPLES_NX_COLOR2 0x00dcdcdc
|
||||||
# elif CONFIG_EXAMPLES_NX_BPP = 16
|
# elif CONFIG_EXAMPLES_NX_BPP == 16
|
||||||
# define CONFIG_EXAMPLES_NX_COLOR2 0x30cc
|
# define CONFIG_EXAMPLES_NX_COLOR2 0x30cc
|
||||||
# else
|
# else
|
||||||
# define CONFIG_EXAMPLES_NX_COLOR2 '2'
|
# define CONFIG_EXAMPLES_NX_COLOR2 '2'
|
||||||
@ -97,7 +97,7 @@
|
|||||||
#ifndef CONFIG_EXAMPLES_NX_TBCOLOR
|
#ifndef CONFIG_EXAMPLES_NX_TBCOLOR
|
||||||
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
||||||
# define CONFIG_EXAMPLES_NX_TBCOLOR 0x00a9a9a9
|
# define CONFIG_EXAMPLES_NX_TBCOLOR 0x00a9a9a9
|
||||||
# elif CONFIG_EXAMPLES_NX_BPP = 16
|
# elif CONFIG_EXAMPLES_NX_BPP == 16
|
||||||
# define CONFIG_EXAMPLES_NX_TBCOLOR 0xad55
|
# define CONFIG_EXAMPLES_NX_TBCOLOR 0xad55
|
||||||
# else
|
# else
|
||||||
# define CONFIG_EXAMPLES_NX_TBCOLOR 'T'
|
# define CONFIG_EXAMPLES_NX_TBCOLOR 'T'
|
||||||
@ -107,7 +107,7 @@
|
|||||||
#ifndef CONFIG_EXAMPLES_NX_FONTCOLOR
|
#ifndef CONFIG_EXAMPLES_NX_FONTCOLOR
|
||||||
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
# if CONFIG_EXAMPLES_NX_BPP == 24 || CONFIG_EXAMPLES_NX_BPP == 32
|
||||||
# define CONFIG_EXAMPLES_NX_FONTCOLOR 0x00000000
|
# define CONFIG_EXAMPLES_NX_FONTCOLOR 0x00000000
|
||||||
# elif CONFIG_EXAMPLES_NX_BPP = 16
|
# elif CONFIG_EXAMPLES_NX_BPP == 16
|
||||||
# define CONFIG_EXAMPLES_NX_FONTCOLOR 0x0000
|
# define CONFIG_EXAMPLES_NX_FONTCOLOR 0x0000
|
||||||
# else
|
# else
|
||||||
# define CONFIG_EXAMPLES_NX_FONTCOLOR 'F'
|
# define CONFIG_EXAMPLES_NX_FONTCOLOR 'F'
|
||||||
|
Loading…
Reference in New Issue
Block a user