From a2bec29019e70fb49b9b2b7afcae0888982c2fdd Mon Sep 17 00:00:00 2001 From: Abner <1310125025@qq.com> Date: Tue, 16 Apr 2024 13:46:49 +0800 Subject: [PATCH] =?UTF-8?q?[bsp][nxp]=E5=A2=9E=E5=8A=A0=E4=BA=86drv=5Ffile?= =?UTF-8?q?system=5Fspi=5Fflash=E9=A9=B1=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frdm-mcxn947/board/ports/drv_filesystem_spi_flash.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsp/nxp/mcx/mcxn/frdm-mcxn947/board/ports/drv_filesystem_spi_flash.c b/bsp/nxp/mcx/mcxn/frdm-mcxn947/board/ports/drv_filesystem_spi_flash.c index 72704346ac..de993e45bf 100644 --- a/bsp/nxp/mcx/mcxn/frdm-mcxn947/board/ports/drv_filesystem_spi_flash.c +++ b/bsp/nxp/mcx/mcxn/frdm-mcxn947/board/ports/drv_filesystem_spi_flash.c @@ -42,11 +42,11 @@ static int filesystem_mount(void) { struct rt_spi_device *spi70 = (struct rt_spi_device *)rt_malloc(sizeof(struct rt_spi_device)); - if(!spi70) - { - rt_kprintf("spi sample run failed! can't find %s device!\n","spi7"); + if(!spi70) + { + rt_kprintf("spi sample run failed! can't find %s device!\n","spi7"); return -RT_ERROR; - } + } struct rt_spi_configuration cfg; cfg.data_width = 8;