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_ms5607.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_ms5607.c')
-rw-r--r-- | src/drivers/ao_ms5607.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_ms5607.c b/src/drivers/ao_ms5607.c index e08f4d40..e1d0507e 100644 --- a/src/drivers/ao_ms5607.c +++ b/src/drivers/ao_ms5607.c @@ -24,7 +24,7 @@ static uint8_t ms5607_configured; static void ao_ms5607_start(void) { - ao_spi_get(AO_MS5607_SPI_INDEX); + ao_spi_get(AO_MS5607_SPI_INDEX,AO_SPI_SPEED_FAST); stm_gpio_set(AO_MS5607_CS_GPIO, AO_MS5607_CS, 0); } |