summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f7d2613)
Let the CS pin be configured by the driver, which can set the correct
value before enabling the output.
Signed-off-by: Keith Packard <keithp@keithp.com>
SPI_DIR &= ~(1 << DDB0); /* DI */
SPI_DIR |= (1 << DDB1); /* DO */
SPI_DIR |= (1 << DDB2); /* SCLK */
SPI_DIR &= ~(1 << DDB0); /* DI */
SPI_DIR |= (1 << DDB1); /* DO */
SPI_DIR |= (1 << DDB2); /* SCLK */
- SPI_DIR |= (1 << DDB3); /* CS */