SPI config for touchpad fix
parent
f61404305e
commit
342d752533
|
@ -27,7 +27,7 @@ volatile static struct cal cal = {
|
||||||
|
|
||||||
static const SPIConfig spicfg = {
|
static const SPIConfig spicfg = {
|
||||||
NULL,
|
NULL,
|
||||||
GPIOC,
|
TP_CS_PORT,
|
||||||
TP_CS,
|
TP_CS,
|
||||||
SPI_CR1_SPE | SPI_CR1_BR_2 | SPI_CR1_BR_1 | SPI_CR1_BR_0,
|
SPI_CR1_SPE | SPI_CR1_BR_2 | SPI_CR1_BR_1 | SPI_CR1_BR_0,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue