X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_ms5607.c;h=c5e733a46e6bf4dacca71dd40ba9e581cd745d90;hb=236d80fac2b4293c5750c9d80b387afd4d0fc5cc;hp=1ebba3e9c6f99ccfb0fd7a7bbebd42b1e7da2c58;hpb=8b2e457db8c4536440ecd7dc35d06f827fc008dc;p=fw%2Faltos diff --git a/src/drivers/ao_ms5607.c b/src/drivers/ao_ms5607.c index 1ebba3e9..c5e733a4 100644 --- a/src/drivers/ao_ms5607.c +++ b/src/drivers/ao_ms5607.c @@ -25,9 +25,7 @@ struct ao_ms5607_prom ao_ms5607_prom; static uint8_t ms5607_configured; -#ifndef AO_MS5607_SPI_SPEED -#define AO_MS5607_SPI_SPEED AO_SPI_SPEED_FAST -#endif +#define AO_MS5607_SPI_SPEED ao_spi_speed(20000000) static void ao_ms5607_start(void) {