Browse Source

Fix the crash of the SPI driver under the smart mode

Signed-off-by: flyingcys flyingcys@163.com
flyingcys 2 tháng trước cách đây
mục cha
commit
f4168669a7
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      bsp/cvitek/drivers/drv_spi.c

+ 0 - 3
bsp/cvitek/drivers/drv_spi.c

@@ -80,9 +80,6 @@ static rt_err_t spi_configure(struct rt_spi_device *device, struct rt_spi_config
 
     LOG_D("spi_configure input");
 
-    /* set cs low when spi idle */
-    writel(0, (void *)0x030001d0);
-
     if (cfg->mode & RT_SPI_SLAVE)
     {
         LOG_E("invalid mode: %d", cfg->mode);