Mercurial > public > ostc4
diff Discovery/Src/data_exchange_main.c @ 88:3db7389d49cc kittz
revert
author | Dmitry Romanov <kitt@bk.ru> |
---|---|
date | Thu, 22 Nov 2018 12:02:55 +0300 |
parents | e746bf846638 |
children | ff7775cc34c4 |
line wrap: on
line diff
--- a/Discovery/Src/data_exchange_main.c Wed Nov 21 13:57:58 2018 +0300 +++ b/Discovery/Src/data_exchange_main.c Thu Nov 22 12:02:55 2018 +0300 @@ -306,7 +306,7 @@ uint8_t SPI_DMA_answer = 0; HAL_GPIO_WritePin(SMALLCPU_CSB_GPIO_PORT,SMALLCPU_CSB_PIN,GPIO_PIN_SET); - delayMicros(50); //~exchange time(+20% reserve) + delayMicros(10); //~exchange time(+20% reserve) HAL_GPIO_WritePin(SMALLCPU_CSB_GPIO_PORT,SMALLCPU_CSB_PIN,GPIO_PIN_RESET); /* one cycle with NotChipSelect true to clear slave spi buffer */