diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-06 15:42:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-06 15:42:00 +0000 |
commit | afa36b951b572cf466d52a43d38b40221817841c (patch) | |
tree | e298b2db292b1f411c8253c2356380d764c997ab | |
parent | 270a8dcb96cd24a41294218915de110d9ff1ae9c (diff) | |
download | px4-nuttx-afa36b951b572cf466d52a43d38b40221817841c.tar.gz px4-nuttx-afa36b951b572cf466d52a43d38b40221817841c.tar.bz2 px4-nuttx-afa36b951b572cf466d52a43d38b40221817841c.zip |
Fix conditional compile syntax
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1425 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/examples/nx/nx_internal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/examples/nx/nx_internal.h b/nuttx/examples/nx/nx_internal.h index 7f7c5642a..fa3e34769 100644 --- a/nuttx/examples/nx/nx_internal.h +++ b/nuttx/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' |