aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-11-17 14:05:23 +0100
committerJoel Bodenmann <joel@unormal.org>2012-11-17 14:05:23 +0100
commit8515ed53f517eb497ca619ec2c24429a9dcd580e (patch)
treed3ea57c1abc3747d353fcb600988d4cde1eea4d0 /drivers/gdisp
parent04cb37f834bf2ba60c25d1f8d315a9462ad77f50 (diff)
downloaduGFX-8515ed53f517eb497ca619ec2c24429a9dcd580e.tar.gz
uGFX-8515ed53f517eb497ca619ec2c24429a9dcd580e.tar.bz2
uGFX-8515ed53f517eb497ca619ec2c24429a9dcd580e.zip
more SSD1289 and touchscreen workaround
Diffstat (limited to 'drivers/gdisp')
-rw-r--r--drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h b/drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h
index 94e8090d..7d20c341 100644
--- a/drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h
+++ b/drivers/gdisp/SSD1289/gdisp_lld_board_firebullstm32f103.h
@@ -45,8 +45,7 @@
* @notapi
*/
static __inline void init_board(void) {
- /* set pin modes in case of defaults by board files have been overwritten */
- palSetBusMode(GDISP_DATA_PORT, PAL_MODE_OUTPUT_PUSHPULL);
+ palSetGroupMode(GDISP_DATA_PORT, PAL_WHOLE_PORT, 0, PAL_MODE_OUTPUT_PUSHPULL);
palSetPadMode(GDISP_CMD_PORT, GDISP_CS, PAL_MODE_OUTPUT_PUSHPULL);
palSetPadMode(GDISP_CMD_PORT, GDISP_RS, PAL_MODE_OUTPUT_PUSHPULL);
palSetPadMode(GDISP_CMD_PORT, GDISP_WR, PAL_MODE_OUTPUT_PUSHPULL);