mirror of https://github.com/wolfSSL/wolfBoot.git
stm32f4 SPI-flash: Remove unnecessary delay after CS-off
parent
fcf1985978
commit
da8175b856
|
@ -30,12 +30,9 @@
|
|||
|
||||
void spi_cs_off(void)
|
||||
{
|
||||
int i;
|
||||
GPIOE_BSRR |= (1 << SPI_FLASH_PIN);
|
||||
while(!(GPIOE_ODR & (1 << SPI_FLASH_PIN)))
|
||||
;
|
||||
for(i = 0; i < 168000; i++)
|
||||
;
|
||||
}
|
||||
|
||||
void spi_cs_on(void)
|
||||
|
|
Loading…
Reference in New Issue