From 2f7e1d317e564a9d4fbebdfd6de2e6b5a95dab1f Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Sun, 10 Sep 2006 20:40:51 +0000 Subject: - don't configure PA15 as MISO, since poti's are write-only git-svn-id: https://svn.openpcd.org:2342/trunk@179 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/src/picc/poti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3