bsp/nuclei: clean up unused code in drv_spi.c
Signed-off-by: Huaqi Fang <578567190@qq.com>
This commit is contained in:
parent
b40edcdf59
commit
1a42d85dfe
|
@ -210,8 +210,6 @@ rt_size_t gd32_spi_transmit(rt_uint32_t spi_periph, const void *send_buf, void *
|
|||
}
|
||||
idx ++;
|
||||
}
|
||||
// Wait for transmission complete
|
||||
// while(SET == spi_i2s_flag_get(spi_periph, SPI_FLAG_TRANS));
|
||||
|
||||
return length;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue