bsp/nuclei: clean up unused code in drv_spi.c

Signed-off-by: Huaqi Fang <578567190@qq.com>
This commit is contained in:
Huaqi Fang 2020-06-11 08:52:06 +08:00
parent b40edcdf59
commit 1a42d85dfe
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}