diff --git a/include/spi.h b/include/spi.h index 85866a27fcb7f65b3ef11cdea2a3e2e832ca3712..25470e4df2669fd9da49a8f696a4085f218931a1 100644 --- a/include/spi.h +++ b/include/spi.h @@ -24,7 +24,8 @@ #define SPI_SLAVE BIT(6) /* slave mode */ #define SPI_PREAMBLE BIT(7) /* Skip preamble bytes */ #define SPI_TX_BYTE BIT(8) /* transmit with 1 wire byte */ -#define SPI_TX_QUAD BIT(9) /* transmit with 4 wires */ +#define SPI_TX_DUAL BIT(9) /* transmit with 2 wires */ +#define SPI_TX_QUAD BIT(10) /* transmit with 4 wires */ /* SPI mode_rx flags */ #define SPI_RX_SLOW BIT(0) /* receive with 1 wire slow */