diff options
author | Uros Majstorovic <majstor@majstor.org> | 2018-03-27 04:37:16 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2018-03-27 04:37:16 +0200 |
commit | 45ffefd8a79598900ea288c726a29aa145d46bb2 (patch) | |
tree | 7af167320d576dfb37a57017f1487fa310183712 /code/fe310/eos/spi_def.h | |
parent | 9ed7686b336eed7672d91ec4b2180e5d48a3fe80 (diff) |
fixed wm param for spi; added cond compile for spi handlers in asm; refactored i2s
Diffstat (limited to 'code/fe310/eos/spi_def.h')
-rw-r--r-- | code/fe310/eos/spi_def.h | 3 |
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 |