mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
stm32-l053r8-em9304: random hack to work around SPI bug
This commit is contained in:
parent
d7af57ab1f
commit
f511b50014
@ -228,8 +228,8 @@ static void hal_spi_em9304_process(btstack_data_source_t *ds, btstack_data_sourc
|
||||
switch (hal_spi_em9304_state){
|
||||
case SPI_EM9304_IDLE:
|
||||
// RDY && space in RX Buffer
|
||||
// if (hal_spi_em9304_rdy() && hal_spi_em9304_rx_free_bytes() && hal_uart_dma_rx_len){
|
||||
if (hal_spi_em9304_rdy() && hal_spi_em9304_rx_free_bytes()){
|
||||
if (hal_spi_em9304_rdy() && hal_spi_em9304_rx_free_bytes() && hal_uart_dma_rx_len){
|
||||
// if (hal_spi_em9304_rdy() && hal_spi_em9304_rx_free_bytes()){
|
||||
// chip select
|
||||
HAL_GPIO_WritePin(SPI1_CSN_GPIO_Port, SPI1_CSN_Pin, GPIO_PIN_RESET);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user