diff options
| author | Keith Packard <keithp@keithp.com> | 2012-10-30 19:39:55 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-10-30 19:39:55 -0700 | 
| commit | e8a4a00a5bb333d4ee9601d53242a82dfe0372c2 (patch) | |
| tree | 34c700b5467c935a9eeab416d97bafe73f3d92ee /src | |
| parent | f7d2613bb0a6ab1c63e3f6252a3a2358fdfbc691 (diff) | |
altos/attiny: Don't initialize the CS pin in the general SPI setup
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/attiny/ao_spi_attiny.c | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/src/attiny/ao_spi_attiny.c b/src/attiny/ao_spi_attiny.c index 064876d7..3c4afb02 100644 --- a/src/attiny/ao_spi_attiny.c +++ b/src/attiny/ao_spi_attiny.c @@ -119,5 +119,4 @@ ao_spi_init(void)  	SPI_DIR &= ~(1 << DDB0);	/* DI */  	SPI_DIR |= (1 << DDB1);		/* DO */  	SPI_DIR |= (1 << DDB2);		/* SCLK */ -	SPI_DIR |= (1 << DDB3);		/* CS */  } | 
