summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openpcd/firmware/src/picc/poti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpcd/firmware/src/picc/poti.c b/openpcd/firmware/src/picc/poti.c
index 0bd08b9..2cc8e5c 100644
--- a/openpcd/firmware/src/picc/poti.c
+++ b/openpcd/firmware/src/picc/poti.c
@@ -33,7 +33,7 @@ void poti_reset(void)
void poti_init(void)
{
AT91F_SPI_CfgPMC();
- AT91F_PIO_CfgPeriph(AT91C_BASE_PIOA, AT91C_PA12_MISO |
+ AT91F_PIO_CfgPeriph(AT91C_BASE_PIOA,
AT91C_PA13_MOSI | AT91C_PA14_SPCK, 0);
AT91F_PIO_CfgOutput(AT91C_BASE_PIOA, OPENPICC_PIO_SS2_DT_THRESH);
personal git repositories of Harald Welte. Your mileage may vary