SPI config for touchpad fix
This commit is contained in:
parent
f61404305e
commit
342d752533
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue