Skip to content

Commit 3496017

Browse files
author
thread-liu
committed
[update] spi nss type
1 parent dab737f commit 3496017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/stm32/libraries/HAL_Drivers/drv_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static rt_err_t stm32_spi_init(struct stm32_spi *spi_drv, struct rt_spi_configur
137137

138138
if (cfg->mode & RT_SPI_NO_CS)
139139
{
140-
spi_handle->Init.NSS = SPI_NSS_SOFT;
140+
spi_handle->Init.NSS = SPI_NSS_HARD_OUTPUT;
141141
}
142142
else
143143
{

0 commit comments

Comments
 (0)