mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
bsp/nuclei: clean up unused code in drv_spi.c
Signed-off-by: Huaqi Fang <578567190@qq.com>
This commit is contained in:
1 parent
b40edcdf59
commit
1a42d85dfe
1 file changed
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user