summaryrefslogtreecommitdiff
path: root/code/fe310/eos/spi_def.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-03-22 05:26:21 +0100
committerUros Majstorovic <majstor@majstor.org>2018-03-22 05:26:21 +0100
commit1aaad9e44871ee421548a14dee25f710b77eba20 (patch)
tree06c8c9ed9be7b377e3d0f07f4fd373d8411c3321 /code/fe310/eos/spi_def.h
parent7410152de8c37361b3935a4edf531c8a86bb9453 (diff)
spi exchange handler simplified; net test pass with asm spi handlers
Diffstat (limited to 'code/fe310/eos/spi_def.h')
-rw-r--r--code/fe310/eos/spi_def.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/code/fe310/eos/spi_def.h b/code/fe310/eos/spi_def.h
index 48bcfab..4c558fb 100644
--- a/code/fe310/eos/spi_def.h
+++ b/code/fe310/eos/spi_def.h
@@ -7,8 +7,7 @@
#define SPI_MODE3 0x03
#define SPI_SIZE_CHUNK 4
-#define SPI_SIZE_TXWM 2
-#define SPI_SIZE_RXWM 3
+#define SPI_SIZE_WM 4
#define SPI_PIN_RTS 0 // pin 8
#define SPI_PIN_CTS 23 // pin 7