diff options
| author | Keith Packard <keithp@keithp.com> | 2012-06-27 14:34:53 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-06-27 14:34:53 -0700 |
| commit | 08a4ed8fe794a2b2b52147bd5535fe0954822e95 (patch) | |
| tree | d9ae25dd4922c15a7c2d55ce95b601c6bf02ce75 /src/drivers/ao_25lc1024.c | |
| parent | 1a1d4a557a30e2e743936b828b654187ec562ca8 (diff) | |
altos: include targe SPI speed in get request
STM needs it to be provided when enabling the SPI device, so just fix
AVR and cc1111 to do the same.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_25lc1024.c')
| -rw-r--r-- | src/drivers/ao_25lc1024.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_25lc1024.c b/src/drivers/ao_25lc1024.c index b25d52c4..c5d811f7 100644 --- a/src/drivers/ao_25lc1024.c +++ b/src/drivers/ao_25lc1024.c @@ -50,7 +50,7 @@ static __xdata uint8_t ao_ee_mutex; _asm nop _endasm; \ } while(0) -#define ao_ee_cs_low() ao_spi_get_bit(EE_CS_PORT, EE_CS_PIN, EE_CS, AO_EE_SPI_BUS) +#define ao_ee_cs_low() ao_spi_get_bit(EE_CS_PORT, EE_CS_PIN, EE_CS, AO_EE_SPI_BUS, AO_SPI_SPEED_FAST) #define ao_ee_cs_high() ao_spi_put_bit(EE_CS_PORT, EE_CS_PIN, EE_CS, AO_EE_SPI_BUS) |
