altos: include targe SPI speed in get request
[fw/altos] / src / drivers / ao_25lc1024.c
index b25d52c4e7e7e529325ca84ce056885c3485dd2f..c5d811f7bfc73905219c1b9cd5b6fb0ddb683aaf 100644 (file)
@@ -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)