From 514ce2afa98c757a0e4a9eefd9e44f87d0ce2c48 Mon Sep 17 00:00:00 2001 From: newflydd Date: Tue, 6 Jun 2023 02:07:34 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A4=BA=E4=BE=8B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E4=B8=ADdevicename=E5=92=8Cbusname=E5=85=A5=E5=8F=82?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E9=A2=A0=E5=80=92=E9=94=99=E8=AF=AF=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A4=BA=E4=BE=8B=E4=BB=A3=E7=A0=81=E4=B8=AD?= =?UTF-8?q?devicename=E5=92=8Cbusname=E5=85=A5=E5=8F=82=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E9=A2=A0=E5=80=92=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: newflydd --- .../rt-thread-standard/programming-manual/device/spi/spi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rt-thread-version/rt-thread-standard/programming-manual/device/spi/spi.md b/rt-thread-version/rt-thread-standard/programming-manual/device/spi/spi.md index 01873bf..6978359 100644 --- a/rt-thread-version/rt-thread-standard/programming-manual/device/spi/spi.md +++ b/rt-thread-version/rt-thread-standard/programming-manual/device/spi/spi.md @@ -112,7 +112,7 @@ static int rt_hw_spi_flash_init(void) LOG_E("Failed to malloc the spi device."); return -RT_ENOMEM; } - if (RT_EOK != rt_spi_bus_attach_device_cspin(spi_device, "spi1", "spi10",GET_PIN(B, 14), RT_NULL)) + if (RT_EOK != rt_spi_bus_attach_device_cspin(spi_device, "spi10", "spi1",GET_PIN(B, 14), RT_NULL)) { LOG_E("Failed to attach the spi device."); return -RT_ERROR; -- Gitee