From 342d752533255f0089308ffa77a05241bb559c10 Mon Sep 17 00:00:00 2001 From: Tectu Date: Wed, 8 Aug 2012 01:35:17 +0200 Subject: [PATCH] SPI config for touchpad fix --- touchpad/touchpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/touchpad/touchpad.c b/touchpad/touchpad.c index 2caa55e7..1ef54190 100644 --- a/touchpad/touchpad.c +++ b/touchpad/touchpad.c @@ -27,7 +27,7 @@ volatile static struct cal cal = { static const SPIConfig spicfg = { NULL, - GPIOC, + TP_CS_PORT, TP_CS, SPI_CR1_SPE | SPI_CR1_BR_2 | SPI_CR1_BR_1 | SPI_CR1_BR_0, };