Skip to content

Commit f416866

Browse files
flyingcysRbb666
authored andcommitted
Fix the crash of the SPI driver under the smart mode
Signed-off-by: flyingcys [email protected]
1 parent a894796 commit f416866

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bsp/cvitek/drivers/drv_spi.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ static rt_err_t spi_configure(struct rt_spi_device *device, struct rt_spi_config
8080

8181
LOG_D("spi_configure input");
8282

83-
/* set cs low when spi idle */
84-
writel(0, (void *)0x030001d0);
85-
8683
if (cfg->mode & RT_SPI_SLAVE)
8784
{
8885
LOG_E("invalid mode: %d", cfg->mode);

0 commit comments

Comments
 (0)