summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam3u-ek/src/up_lcd.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-08 00:37:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-08 00:37:18 +0000
commitc87ac73912d8d1dc36944c52526f13d24301cd7a (patch)
tree3ac469cc8242aa9eabf5d99f8fafeee25e167f34 /nuttx/configs/sam3u-ek/src/up_lcd.c
parent77fac8557262940319c3fa3bc473866d4bb90450 (diff)
downloadpx4-nuttx-c87ac73912d8d1dc36944c52526f13d24301cd7a.tar.gz
px4-nuttx-c87ac73912d8d1dc36944c52526f13d24301cd7a.tar.bz2
px4-nuttx-c87ac73912d8d1dc36944c52526f13d24301cd7a.zip
SAM3U: Add logic to bypass automated control of SPI chip selects
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4032 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sam3u-ek/src/up_lcd.c')
-rw-r--r--nuttx/configs/sam3u-ek/src/up_lcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/sam3u-ek/src/up_lcd.c b/nuttx/configs/sam3u-ek/src/up_lcd.c
index 2de563f9b..22cbeca88 100644
--- a/nuttx/configs/sam3u-ek/src/up_lcd.c
+++ b/nuttx/configs/sam3u-ek/src/up_lcd.c
@@ -798,9 +798,9 @@ static int sam3u_setpower(struct lcd_dev_s *dev, int power)
sam3u_gpiowrite(GPIO_LCD_BKL, false);
sam3u_gpiowrite(GPIO_LCD_BKL, false);
sam3u_gpiowrite(GPIO_LCD_BKL, false);
- sam3u_gpiowrite(GPIO_LCD_BKL, true);;
- sam3u_gpiowrite(GPIO_LCD_BKL, true);;
- sam3u_gpiowrite(GPIO_LCD_BKL, true);;
+ sam3u_gpiowrite(GPIO_LCD_BKL, true);
+ sam3u_gpiowrite(GPIO_LCD_BKL, true);
+ sam3u_gpiowrite(GPIO_LCD_BKL, true);
}
/* This delay seems to be required... perhaps because of the big current jump? */