summaryrefslogtreecommitdiff
path: root/code/fe310/eos/spi_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/spi_def.h')
-rw-r--r--code/fe310/eos/spi_def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/code/fe310/eos/spi_def.h b/code/fe310/eos/spi_def.h
index 4c558fb..69ca168 100644
--- a/code/fe310/eos/spi_def.h
+++ b/code/fe310/eos/spi_def.h
@@ -6,8 +6,9 @@
#define SPI_MODE2 0x02
#define SPI_MODE3 0x03
+/* DO NOT TOUCH THEESE */
#define SPI_SIZE_CHUNK 4
-#define SPI_SIZE_WM 4
+#define SPI_SIZE_WM 2
#define SPI_PIN_RTS 0 // pin 8
#define SPI_PIN_CTS 23 // pin 7