summaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-27 20:15:24 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-27 20:15:24 +0000
commit43ce5d2117ea381b4e1af5e483a4fb187ef3ed8b (patch)
tree76562a9d5c0d28f60049eb4cb2d4bc9b9a47d035 /nuttx/configs/shenzhou
parent53309f29bef36ec7f8807f96f3a5d720f2c2df9c (diff)
downloadpx4-nuttx-43ce5d2117ea381b4e1af5e483a4fb187ef3ed8b.tar.gz
px4-nuttx-43ce5d2117ea381b4e1af5e483a4fb187ef3ed8b.tar.bz2
px4-nuttx-43ce5d2117ea381b4e1af5e483a4fb187ef3ed8b.zip
Fix STM32 SPI3 remap logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5200 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/shenzhou')
-rw-r--r--nuttx/configs/shenzhou/nxwm/defconfig6
-rw-r--r--nuttx/configs/shenzhou/src/up_touchscreen.c3
2 files changed, 3 insertions, 6 deletions
diff --git a/nuttx/configs/shenzhou/nxwm/defconfig b/nuttx/configs/shenzhou/nxwm/defconfig
index b529907c1..811ba0266 100644
--- a/nuttx/configs/shenzhou/nxwm/defconfig
+++ b/nuttx/configs/shenzhou/nxwm/defconfig
@@ -362,9 +362,9 @@ CONFIG_INPUT_ADS7843E=y
# CONFIG_ADS7843E_MULTIPLE is not set
CONFIG_ADS7843E_SPIMODE=0
CONFIG_ADS7843E_FREQUENCY=100000
-# CONFIG_ADS7843E_SWAPXY is not set
-CONFIG_ADS7843E_THRESHX=12
-CONFIG_ADS7843E_THRESHY=12
+CONFIG_ADS7843E_SWAPXY=y
+CONFIG_ADS7843E_THRESHX=39
+CONFIG_ADS7843E_THRESHY=51
# CONFIG_INPUT_STMPE811 is not set
CONFIG_LCD=y
# CONFIG_LCD_NOGETRUN is not set
diff --git a/nuttx/configs/shenzhou/src/up_touchscreen.c b/nuttx/configs/shenzhou/src/up_touchscreen.c
index 969b23be4..4740f60a5 100644
--- a/nuttx/configs/shenzhou/src/up_touchscreen.c
+++ b/nuttx/configs/shenzhou/src/up_touchscreen.c
@@ -209,9 +209,6 @@ static bool tsc_busy(FAR struct ads7843e_config_s *state)
* between sending the command, then reading the returned data.
*/
-#if 0
- up_udelay(1600); /* 1.6MS */
-#endif
return false;
}