summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-05-16 18:02:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-05-16 18:02:37 +0000
commitb9aa66266d4afd4ff8fe978bca4d706a809a4c1c (patch)
tree2c6577a1a781572dd6edfd6606277bd191b19545 /nuttx/configs
parent694de4eb08b74ddea49c85716f452ddd33a15925 (diff)
downloadpx4-nuttx-b9aa66266d4afd4ff8fe978bca4d706a809a4c1c.tar.gz
px4-nuttx-b9aa66266d4afd4ff8fe978bca4d706a809a4c1c.tar.bz2
px4-nuttx-b9aa66266d4afd4ff8fe978bca4d706a809a4c1c.zip
Fixes for rendering fonts at 4bpp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2682 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rwxr-xr-xnuttx/configs/lm3s6965-ek/src/up_oled.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/configs/lm3s6965-ek/src/up_oled.c b/nuttx/configs/lm3s6965-ek/src/up_oled.c
index 55b8a3414..0493ce475 100755
--- a/nuttx/configs/lm3s6965-ek/src/up_oled.c
+++ b/nuttx/configs/lm3s6965-ek/src/up_oled.c
@@ -101,8 +101,10 @@ FAR struct lcd_dev_s *up_nxdrvinit(unsigned int devno)
oledcs_dumpgpio("up_nxdrvinit: After OLEDCS setup");
oleddc_dumpgpio("up_nxdrvinit: On entry");
+
lm3s_configgpio(OLEDDC_GPIO); /* PC7: OLED display data/control select (D/Cn) */
lm3s_configgpio(OLEDEN_GPIO); /* PC6: Enable +15V needed by OLED (EN+15V) */
+
oleddc_dumpgpio("up_nxdrvinit: After OLEDDC/EN setup");
/* Get the SSI port (configure as a Freescale SPI port) */
@@ -110,7 +112,7 @@ FAR struct lcd_dev_s *up_nxdrvinit(unsigned int devno)
spi = up_spiinitialize(0);
if (!spi)
{
- glldbg("Failed to initialize SPI port 0\n");
+ glldbg("Failed to initialize SSI port 0\n");
}
else
{