diff options
author | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-10 20:40:51 +0000 |
---|---|---|
committer | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-10 20:40:51 +0000 |
commit | 2f7e1d317e564a9d4fbebdfd6de2e6b5a95dab1f (patch) | |
tree | 7dd7937acd661dc894a3d22d93e64470af46cbb5 | |
parent | ae3d814af1d240472a1fd4845cdb28b45719d859 (diff) |
- 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
-rw-r--r-- | openpcd/firmware/src/picc/poti.c | 2 |
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); |