From f5520981167ca8d5103a6dc8dd391a72c6ebeb60 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 8 Mar 2013 09:20:51 +0100 Subject: embest DMSTF4BB board fix - removed FSMC suffix because only FSMC exists --- .../ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'drivers/ginput/touch') diff --git a/drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h b/drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h index 0ffbec2a..fa43f4ac 100644 --- a/drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h +++ b/drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h @@ -42,7 +42,9 @@ static const I2CConfig i2ccfg2 = { * @notapi */ static inline void init_board(void) { - palSetPadMode(GPIOC, 13, PAL_MODE_INPUT); + palSetPadMode(GPIOC, 13, PAL_MODE_INPUT); /* TP IRQ */ + palSetPadMode(GPIOB, 10, PAL_MODE_ALTERNATE(4)); /* I2C2 SCL */ + palSetPadMode(GPIOB, 11, PAL_MODE_ALTERNATE(4)); /* I2C2 SDA */ i2cStart(&I2CD2, &i2ccfg2); } -- cgit v1.2.3