提交 3496017c 编写于 作者: T thread-liu

[update] spi nss type

上级 dab737f6
......@@ -137,7 +137,7 @@ static rt_err_t stm32_spi_init(struct stm32_spi *spi_drv, struct rt_spi_configur
if (cfg->mode & RT_SPI_NO_CS)
{
spi_handle->Init.NSS = SPI_NSS_SOFT;
spi_handle->Init.NSS = SPI_NSS_HARD_OUTPUT;
}
else
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册