From bc385cd55cad248c6965545470e5dc1ff6a6f87e Mon Sep 17 00:00:00 2001 From: liYony <941843540@qq.com> Date: Thu, 16 Feb 2023 22:15:52 +0800 Subject: [PATCH] =?UTF-8?q?[spi]=E4=BC=98=E5=8C=96=E6=8C=82=E8=BD=BD?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E5=AF=B9cs=5Fpin=E7=9A=84=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/spi/spi_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/components/drivers/spi/spi_core.c b/components/drivers/spi/spi_core.c index dd805337f5..63b50f265a 100644 --- a/components/drivers/spi/spi_core.c +++ b/components/drivers/spi/spi_core.c @@ -63,7 +63,6 @@ rt_err_t rt_spi_bus_attach_device_cspin(struct rt_spi_device *device, if(cs_pin != PIN_NONE) { rt_pin_mode(cs_pin, PIN_MODE_OUTPUT); - rt_pin_write(cs_pin, PIN_HIGH); } rt_memset(&device->config, 0, sizeof(device->config));