From a6266f9ba410cc7645c07d2c9af0945dbc5daf15 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 6 Dec 2008 15:42:00 +0000 Subject: [PATCH] Fix conditional compile syntax git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1425 42af7a65-404d-4744-a932-0658087f49c3 --- examples/nx/nx_internal.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/nx/nx_internal.h b/examples/nx/nx_internal.h index 7f7c5642af6..fa3e3476980 100644 --- a/examples/nx/nx_internal.h +++ b/examples/nx/nx_internal.h @@ -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'