summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2019-05-06 02:21:17 +0200
committerUros Majstorovic <majstor@majstor.org>2019-05-06 02:21:17 +0200
commitdf2ebc3201c5ecb25ce104528dc5d98e0ce5fcbb (patch)
tree075cbfcc39826ed480fed038ec7d3b951f515713
parent4a49ee4a0dd2b75a81511519a190eaada9664930 (diff)
pin numbers cleanup
-rw-r--r--code/fe310/eos/spi_def.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/fe310/eos/spi_def.h b/code/fe310/eos/spi_def.h
index 1f63d38..c49a73b 100644
--- a/code/fe310/eos/spi_def.h
+++ b/code/fe310/eos/spi_def.h
@@ -10,9 +10,9 @@
#define SPI_SIZE_CHUNK 4
#define SPI_SIZE_WM 2
-#define SPI_PIN_RTS 0 // pin 8
-#define SPI_PIN_CTS 23 // pin 7
-#define SPI_PIN_CS IOF_SPI1_SS0 // pin 10
+#define SPI_PIN_RTS 0
+#define SPI_PIN_CTS 23
+#define SPI_PIN_CS IOF_SPI1_SS0
#define SPI_FLAG_RDY 0x01
#define SPI_FLAG_RST 0x02