summaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou/src/shenzhou-internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-22 14:06:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-22 14:06:47 +0000
commitb3da63f487b2ccc69afd9610e0a6082d8482df56 (patch)
treec56449217153b2e4274169aacbcd5d0a3d6b552f /nuttx/configs/shenzhou/src/shenzhou-internal.h
parent23bb449f09e8044736e257cde80e07473216a30e (diff)
downloadpx4-nuttx-b3da63f487b2ccc69afd9610e0a6082d8482df56.tar.gz
px4-nuttx-b3da63f487b2ccc69afd9610e0a6082d8482df56.tar.bz2
px4-nuttx-b3da63f487b2ccc69afd9610e0a6082d8482df56.zip
Correct Shenzhou LED controls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5174 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/shenzhou/src/shenzhou-internal.h')
-rw-r--r--nuttx/configs/shenzhou/src/shenzhou-internal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/shenzhou/src/shenzhou-internal.h b/nuttx/configs/shenzhou/src/shenzhou-internal.h
index 19460bc99..48b06e7b0 100644
--- a/nuttx/configs/shenzhou/src/shenzhou-internal.h
+++ b/nuttx/configs/shenzhou/src/shenzhou-internal.h
@@ -113,13 +113,13 @@
*/
#define GPIO_LED1 (GPIO_OUTPUT|GPIO_CNF_OUTPP|GPIO_MODE_50MHz|\
- GPIO_OUTPUT_CLEAR|GPIO_PORTD|GPIO_PIN2)
+ GPIO_OUTPUT_SET|GPIO_PORTD|GPIO_PIN2)
#define GPIO_LED2 (GPIO_OUTPUT|GPIO_CNF_OUTPP|GPIO_MODE_50MHz|\
- GPIO_OUTPUT_CLEAR|GPIO_PORTD|GPIO_PIN3)
+ GPIO_OUTPUT_SET|GPIO_PORTD|GPIO_PIN3)
#define GPIO_LED3 (GPIO_OUTPUT|GPIO_CNF_OUTPP|GPIO_MODE_50MHz|\
- GPIO_OUTPUT_CLEAR|GPIO_PORTD|GPIO_PIN4)
+ GPIO_OUTPUT_SET|GPIO_PORTD|GPIO_PIN4)
#define GPIO_LED4 (GPIO_OUTPUT|GPIO_CNF_OUTPP|GPIO_MODE_50MHz|\
- GPIO_OUTPUT_CLEAR|GPIO_PORTD|GPIO_PIN5)
+ GPIO_OUTPUT_SET|GPIO_PORTD|GPIO_PIN7)
/* TFT LCD
*