summaryrefslogtreecommitdiff
path: root/code/fe310/eos/net.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2019-07-26 16:40:10 +0200
committerUros Majstorovic <majstor@majstor.org>2019-07-26 16:40:10 +0200
commit0fdc7ebc120b99bef9338630e954e773acf15018 (patch)
treed0de5d87c981d79d8f518d7730d58b7907442fb3 /code/fe310/eos/net.c
parentdf2ebc3201c5ecb25ce104528dc5d98e0ce5fcbb (diff)
fixed audio pins for phone board
Diffstat (limited to 'code/fe310/eos/net.c')
-rw-r--r--code/fe310/eos/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fe310/eos/net.c b/code/fe310/eos/net.c
index bcfa1f2..7ef1745 100644
--- a/code/fe310/eos/net.c
+++ b/code/fe310/eos/net.c
@@ -273,7 +273,7 @@ void eos_net_start(uint32_t sckdiv) {
SPI_FMT_LEN(8);
// enable CS pin for selected channel/pin
- SPI1_REG(SPI_REG_CSID) = 2;
+ SPI1_REG(SPI_REG_CSID) = SPI_IDX_SS;
// There is no way here to change the CS polarity.
// SPI1_REG(SPI_REG_CSDEF) = 0xFFFF;